silence complaint about not loading the wlan_scan_monitor module;
it does not exist and is not needed as monitor mode operation has always required setting the current channel Reviewed by: thompsa MFC after: 1 week
This commit is contained in:
parent
30d239bc4c
commit
b161c30793
@ -158,7 +158,8 @@ ieee80211_scanner_get(enum ieee80211_opmode mode)
|
||||
{
|
||||
if (mode >= IEEE80211_SCANNER_MAX)
|
||||
return NULL;
|
||||
if (scanners[mode] == NULL)
|
||||
/* NB: avoid monitor mode; there is no scan support */
|
||||
if (mode != IEEE80211_M_MONITOR && scanners[mode] == NULL)
|
||||
ieee80211_load_module(scan_modnames[mode]);
|
||||
return scanners[mode];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user