diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 0011ac815097..caecef870c0e 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2593,13 +2593,16 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx) | |||
2593 | break; | 2593 | break; |
2594 | 2594 | ||
2595 | if (sdata->vif.type != NL80211_IFTYPE_STATION && | 2595 | if (sdata->vif.type != NL80211_IFTYPE_STATION && |
2596 | sdata->vif.type != NL80211_IFTYPE_ADHOC) | 2596 | sdata->vif.type != NL80211_IFTYPE_ADHOC && |
2597 | sdata->vif.type != NL80211_IFTYPE_MESH_POINT) | ||
2597 | break; | 2598 | break; |
2598 | 2599 | ||
2599 | if (sdata->vif.type == NL80211_IFTYPE_STATION) | 2600 | if (sdata->vif.type == NL80211_IFTYPE_STATION) |
2600 | bssid = sdata->u.mgd.bssid; | 2601 | bssid = sdata->u.mgd.bssid; |
2601 | else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) | 2602 | else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) |
2602 | bssid = sdata->u.ibss.bssid; | 2603 | bssid = sdata->u.ibss.bssid; |
2604 | else if (sdata->vif.type == NL80211_IFTYPE_MESH_POINT) | ||
2605 | bssid = mgmt->sa; | ||
2603 | else | 2606 | else |
2604 | break; | 2607 | break; |
2605 | 2608 | ||