#275: Scan for non-ESSID-broadcasting access point always fails
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: mrenzmann
Type: defect | Status: assigned
Priority: minor | Milestone: version 1.0.0 - first
stable release
Component: madwifi: 802.11 stack | Version: trunk
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment (by [EMAIL PROTECTED]):
If you have a look at the imr-setmode-delay-patch.diff from ticket #228
I've done a very similar thing. There is a flag you can loop on to check
if the scan has finished yet, but you'll need to have something in the
loop or it's infinite and the scan never finishes. Specifically I did
this between the cancelling and restarting of the scan.
while((ic->ic_flags & IEEE80211_F_SCAN) != 0) mdelay(1);
--
Ticket URL: <http://madwifi.org/ticket/275>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity