mwl8k: clear hardware MAC address if no STA interface configured
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 22 Oct 2009 18:20:04 +0000 (20:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Nov 2009 23:44:45 +0000 (18:44 -0500)
commit32060e1b64f23fe315a35d2df8c2c7ad010df73e
treef5687cbeb3485a3abea2dbc9bcd7966744d05fd8
parent77165d8809cda1a77bc8752148a6252d7735c12e
mwl8k: clear hardware MAC address if no STA interface configured

If there is no STA interface configured, clear the hardware MAC
address to prevent ACKing frames sent to our MAC address.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c