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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 23443de7ee4e..73cf126cef49 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1850,9 +1850,8 @@ static int prepare_for_handlers(struct ieee80211_sub_if_data *sdata,
1850 return 0; 1850 return 0;
1851 rx->flags &= ~IEEE80211_RX_RA_MATCH; 1851 rx->flags &= ~IEEE80211_RX_RA_MATCH;
1852 } else if (!rx->sta) 1852 } else if (!rx->sta)
1853 rx->sta = ieee80211_ibss_add_sta(sdata, rx->skb, 1853 rx->sta = ieee80211_ibss_add_sta(sdata, bssid, hdr->addr2,
1854 bssid, hdr->addr2, 1854 BIT(rx->status->rate_idx));
1855 BIT(rx->status->rate_idx));
1856 break; 1855 break;
1857 case NL80211_IFTYPE_MESH_POINT: 1856 case NL80211_IFTYPE_MESH_POINT:
1858 if (!multicast && 1857 if (!multicast &&