aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 7d226417ef46..2be5b7d69ad7 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2775,8 +2775,8 @@ static int prepare_for_handlers(struct ieee80211_rx_data *rx,
2775 rate_idx = 0; /* TODO: HT rates */ 2775 rate_idx = 0; /* TODO: HT rates */
2776 else 2776 else
2777 rate_idx = status->rate_idx; 2777 rate_idx = status->rate_idx;
2778 rx->sta = ieee80211_ibss_add_sta(sdata, bssid, 2778 ieee80211_ibss_rx_no_sta(sdata, bssid, hdr->addr2,
2779 hdr->addr2, BIT(rate_idx), GFP_ATOMIC); 2779 BIT(rate_idx));
2780 } 2780 }
2781 break; 2781 break;
2782 case NL80211_IFTYPE_MESH_POINT: 2782 case NL80211_IFTYPE_MESH_POINT: