]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't drop nullfunc frames during software scan
authorKalle Valo <kalle.valo@nokia.com>
Wed, 18 Mar 2009 12:06:44 +0000 (14:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:00 +0000 (20:13 -0400)
commitf8307bea6b5f8755d1eb2ef3e87b7dba66abe3d6
tree8e10fab859b4a8e097f333080f92b2b8ae0fef76
parent642c53de5930091ab96adce27a11510785f2beb3
mac80211: don't drop nullfunc frames during software scan

ieee80211_tx_h_check_assoc() was dropping everything else than probe
requests during software scan. So the nullfunc frame with the power save
bit was dropped and AP never received it. This meant that AP never
buffered any frames for the station during software scan.

Fix this by allowing to transmit both probe request and nullfunc frames
during software scan. Tested with stlc45xx.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c
net/mac80211/tx.c