b43: LP-PHY: Fix reading old mode in the set TX power control routine
authorGábor Stefanik <netrolller.3d@gmail.com>
Fri, 14 Aug 2009 18:29:47 +0000 (20:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:59 +0000 (11:35 -0400)
commit12d4bba0fd7ac50ca20d9ac1247a0de851850bb0
treefdcaed678298fe69ffe8e70b50a121d61070d0e8
parent1de6f73c34fb9a74454a5b519cefd635b5e8ceb6
b43: LP-PHY: Fix reading old mode in the set TX power control routine

Check the mode the hardware is in, not the mode we used the last time.

Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_lp.c