wl12xx: AP mode - don't regulate FW blocks for non-active STAs
authorArik Nemtsov <arik@wizery.com>
Thu, 25 Aug 2011 09:43:13 +0000 (12:43 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 14 Sep 2011 10:15:05 +0000 (13:15 +0300)
commit56d4f8f685c073c7ed7203b78c57f5d893d65102
tree43df6c90e21c741c6b76df83bcbd4ea9e6f8993c
parentf8e0af6b8732b47c2531a280753d29a4ca2d114b
wl12xx: AP mode - don't regulate FW blocks for non-active STAs

Check a STA is associated before regulating its PS-status in mac80211.
Should never happen, so warn as a precaution.

[Small cosmetic change wrt Kalle Valo's comment. -- Luca]

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/tx.c