diff options
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 8515b1e5c578..46f371160896 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -882,7 +882,8 @@ int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev, | |||
882 | if (!wdev->current_bss || | 882 | if (!wdev->current_bss || |
883 | memcmp(wdev->current_bss->pub.bssid, mgmt->bssid, | 883 | memcmp(wdev->current_bss->pub.bssid, mgmt->bssid, |
884 | ETH_ALEN) != 0 || | 884 | ETH_ALEN) != 0 || |
885 | (wdev->iftype == NL80211_IFTYPE_STATION && | 885 | ((wdev->iftype == NL80211_IFTYPE_STATION || |
886 | wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) && | ||
886 | memcmp(wdev->current_bss->pub.bssid, mgmt->da, | 887 | memcmp(wdev->current_bss->pub.bssid, mgmt->da, |
887 | ETH_ALEN) != 0)) { | 888 | ETH_ALEN) != 0)) { |
888 | wdev_unlock(wdev); | 889 | wdev_unlock(wdev); |