NM HEAD 1.721 AP_SCAN patched.



1. Since AP_SCAN is not a command defined for the ctrl interface of wpa_supplicant, I deleted the following lines from nm-device-802-11-wireless.c

       /* Tell wpa_supplicant that we'll do the scanning */
if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL,
                       "AP_SCAN 2"))
               goto out;

2. In wpa_supplicant-0.4.7/config.h (defines the default configuration) I changed

#define DEFAULT_AP_SCAN 1

to

#define DEFAULT_AP_SCAN 2

and recompiled.

3. NM is now connecting at home with broadcast essid and at work with hidden essid.

--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]