mac80211: Fix (dynamic) power save entry
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 9 Mar 2010 12:25:02 +0000 (14:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 21:29:10 +0000 (16:29 -0500)
commit2a13052fe495948e572839e514e0e0cd236c50b0
tree7a15b095d5dc57fb21ea789439851205e2865349
parent41093167ec6c1854903a4bc38a37b5740c028984
mac80211: Fix (dynamic) power save entry

Currently hardware with !IEEE80211_HW_PS_NULLFUNC_STACK and
IEEE80211_HW_REPORTS_TX_ACK_STATUS will never enter PSM due to the
conditions in the power save entry functions.

Fix those conditions.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c