aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/mwl8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index b953ad621e0b..13c9ac56fbc3 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -1258,7 +1258,7 @@ mwl8k_capture_bssid(struct mwl8k_priv *priv, struct ieee80211_hdr *wh)
1258{ 1258{
1259 return priv->capture_beacon && 1259 return priv->capture_beacon &&
1260 ieee80211_is_beacon(wh->frame_control) && 1260 ieee80211_is_beacon(wh->frame_control) &&
1261 ether_addr_equal(wh->addr3, priv->capture_bssid); 1261 ether_addr_equal_64bits(wh->addr3, priv->capture_bssid);
1262} 1262}
1263 1263
1264static inline void mwl8k_save_beacon(struct ieee80211_hw *hw, 1264static inline void mwl8k_save_beacon(struct ieee80211_hw *hw,