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)
commita9a6ffffd05f97e6acbdeafc595e269855829751
tree8e10fab859b4a8e097f333080f92b2b8ae0fef76
parent43da9192326a4499b5faf737c3636f25b56b53e0
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