aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_g.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-06-01 19:07:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-03 15:01:07 -0400
commit4da909e7b572b561d8150f9d41b04bcfff386222 (patch)
tree497b59e2a2aa338199c16f62cd8449ab51203e35 /drivers/net/wireless/b43/phy_g.c
parent5a6f78afdabeb8b8e0811547fb98813323abf888 (diff)
b43: do not use SSB specific flags when calling core reset function
Luckily the only flag we use when calling core reset is GMODE one. Thanks to that we can just switch to single bool and make function calls bus generic. Tested on my BCM4312 (LP-PHY) and early tested with BCM43224. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_g.c')
-rw-r--r--drivers/net/wireless/b43/phy_g.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_g.c b/drivers/net/wireless/b43/phy_g.c
index 684be1fd59ae..83532d19347f 100644
--- a/drivers/net/wireless/b43/phy_g.c
+++ b/drivers/net/wireless/b43/phy_g.c
@@ -2535,7 +2535,7 @@ static int b43_gphy_op_prepare_hardware(struct b43_wldev *dev)
2535 b43_wireless_core_reset(dev, 0); 2535 b43_wireless_core_reset(dev, 0);
2536 b43_phy_initg(dev); 2536 b43_phy_initg(dev);
2537 phy->gmode = 1; 2537 phy->gmode = 1;
2538 b43_wireless_core_reset(dev, B43_TMSLOW_GMODE); 2538 b43_wireless_core_reset(dev, 1);
2539 } 2539 }
2540 2540
2541 return 0; 2541 return 0;