diff options
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index a4bbc8d6d0e6..8f51375317dd 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -4360,7 +4360,7 @@ struct sta_info *ieee80211_ibss_add_sta(struct net_device *dev, | |||
4360 | return NULL; | 4360 | return NULL; |
4361 | } | 4361 | } |
4362 | 4362 | ||
4363 | if (!ieee80211_bssid_match(bssid, sdata->u.sta.bssid)) | 4363 | if (compare_ether_addr(bssid, sdata->u.sta.bssid)) |
4364 | return NULL; | 4364 | return NULL; |
4365 | 4365 | ||
4366 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 4366 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |