]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix beacon loss detection after scan
authorKalle Valo <kalle.valo@iki.fi>
Sun, 19 Apr 2009 05:47:19 +0000 (08:47 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Apr 2009 20:36:26 +0000 (16:36 -0400)
commite342a33f046723d5c0be365be84d6718d52ff61b
treeafa794d3da8c2b9dc388ee4903b93a5c041ca3fa
parent2950c088ba13e498fe855548ec1233faa83f054a
mac80211: fix beacon loss detection after scan

Currently beacon loss detection triggers after a scan. A probe request
is sent and a message like this is printed to the log:

wlan0: beacon loss from AP 00:12:17:e7:98:de - sending probe request

But in fact there is no beacon loss, the beacons are just not received
because of the ongoing scan. Fix it by updating last_beacon after
the scan has finished.

Reported-by: Jaswinder Singh Rajput <jaswinder@kernel.org>
Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c