|
@@ -1293,7 +1293,7 @@ void rtl_beacon_statistic(struct ieee80211_hw *hw, struct sk_buff *skb)
|
|
return;
|
|
return;
|
|
|
|
|
|
/* and only beacons from the associated BSSID, please */
|
|
/* and only beacons from the associated BSSID, please */
|
|
- if (!ether_addr_equal(hdr->addr3, rtlpriv->mac80211.bssid))
|
|
|
|
|
|
+ if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid))
|
|
return;
|
|
return;
|
|
|
|
|
|
rtlpriv->link_info.bcn_rx_inperiod++;
|
|
rtlpriv->link_info.bcn_rx_inperiod++;
|
|
@@ -1781,7 +1781,7 @@ void rtl_recognize_peer(struct ieee80211_hw *hw, u8 *data, unsigned int len)
|
|
return;
|
|
return;
|
|
|
|
|
|
/* and only beacons from the associated BSSID, please */
|
|
/* and only beacons from the associated BSSID, please */
|
|
- if (!ether_addr_equal(hdr->addr3, rtlpriv->mac80211.bssid))
|
|
|
|
|
|
+ if (!ether_addr_equal_64bits(hdr->addr3, rtlpriv->mac80211.bssid))
|
|
return;
|
|
return;
|
|
|
|
|
|
if (rtl_find_221_ie(hw, data, len))
|
|
if (rtl_find_221_ie(hw, data, len))
|