b43: Suspend MAC while killing the radio
authorMichael Buesch <mb@bu3sch.de>
Fri, 19 Dec 2008 17:40:00 +0000 (18:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:24:04 +0000 (15:24 -0500)
commitb929ecf7965c2dab7e373f390ac5fc563011484d
tree915a70623f5b18309dbc2cf7ba6355d4ba4c19e4
parentfd6effcaf8a894c0a0f602b943dbc54a170d4418
b43: Suspend MAC while killing the radio

We should suspend the MAC, before we kill the radio. This gives
the MAC a chance to leave any TX/RX state and it avoids races on
the PHY/RADIO registers.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_common.c