#365: Does "wlan_scan_monitor" module exist?
---------------------------------+------------------------------------------
Reporter: anonymous | Owner: mrenzmann
Type: defect | Status: assigned
Priority: minor | Milestone:
Component: madwifi: other | Version: trunk
Resolution: | Keywords:
Patch_attached: 0 |
---------------------------------+------------------------------------------
Comment (by [EMAIL PROTECTED]):
This patch prevents the warning about wlan_scan_monitor and wlan_scan_wds
Signed-off-by: Ryan Castellucci <[EMAIL PROTECTED]> SoliSys LLC
--- ieee80211_scan.c.orig 2006-03-17 15:36:47.457134472 -0800
+++ ieee80211_scan.c 2006-03-17 16:16:12.094530172 -0800
@@ -191,6 +191,8 @@
int err;
if (mode >= IEEE80211_SCANNER_MAX)
return NULL;
+ if (strcmp(scan_modnames[mode],"wlan_scan_sta") != 0 &&
strcmp(scan_modnames[mode],"wlan_scan_ap") != 0)
+ return NULL;
if (scanners[mode] == NULL && tryload) {
err = ieee80211_load_module(scan_modnames[mode]);
if (scanners[mode] == NULL || err)
--
Ticket URL: <http://madwifi.org/ticket/365>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity