wl1251: Send null data packet with "TODS" bit set
authorVidhya Govindan <vidhya.govindan@nokia.com>
Tue, 17 Nov 2009 16:49:54 +0000 (18:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:23 +0000 (17:09 -0500)
commit06cc5d3bb01350466f7a1bf64d9afe06870b6480
tree0399eb525335d422edd23487f620b823d444e488
parent79553f82c993ed511450748f01e16e4dccdc8c02
wl1251: Send null data packet with "TODS" bit set

According to IEEE80211 standard all the data packets have to be sent with
TODS bit set. This patch fixes the null data packet format which was sent
without TODS bit set. This should fix many problems associated with
power save. Janne Ylalehto also found this fix in the same time as mine,
for a different bug he was working on.

Signed-off-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Reviewed-by: Janne Ylalehto <janne.ylalehto@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c