mac80211: do not monitor the connection while scanning
authorChristian Lamparter <chunkeey@web.de>
Sun, 19 Jul 2009 20:09:32 +0000 (22:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:27 +0000 (15:05 -0400)
commita99d02483a40b9410d8a7af3b653ebc3f106280f
tree3ef736c77ed303f6f9b3d8f7f82256c835b54834
parent9ab56078e638efb75ac4ccd27c7196cdfed2e6c8
mac80211: do not monitor the connection while scanning

mac80211 constantly monitors the connection to the associated AP
in order to check if it is out of reach/dead.

This is absolutely fine most of the time.
Except when there is a scheduled scan for the whole neighborhood.
After all this path could trigger while scanning on different channel.
Or even worse: this AP probing triggers a WARN_ON in rate_lowest_index
when the scan code did a band transition!
( http://www.kerneloops.org/raw.php?rawid=449304 )

Reported-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c