mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
wifi: mac80211: set internal scan request BSSID
If any driver relies entirely on the scan request BSSID, then that would be wrong for internal scans. Initialize it to the broadcast address since we don't otherwise use the field. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -1155,6 +1155,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
|
||||
if (!local->int_scan_req)
|
||||
return -ENOMEM;
|
||||
|
||||
eth_broadcast_addr(local->int_scan_req->bssid);
|
||||
|
||||
for (band = 0; band < NUM_NL80211_BANDS; band++) {
|
||||
if (!local->hw.wiphy->bands[band])
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user