mac80211: disable power save if an infra AP vif exists
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 31 Jan 2011 18:58:59 +0000 (00:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:26 +0000 (15:06 -0500)
commit8c7914dec29f39a6a8ca348a5eeace40a59be65d
tree36691f711b67e10b5bbf3a114dea8a6a73fc8bf4
parent5a3a0352f39c81dfa5c30a190ad04d115616c3e6
mac80211: disable power save if an infra AP vif exists

PS should not be enabled if an infra AP vif exists in
the interface list. So while recalculating PS,
AP vif type should be taken into account.

Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c