b43: don't pre-set radio_on variable to true
authorRafał Miłecki <zajec5@gmail.com>
Tue, 22 Apr 2014 11:54:37 +0000 (13:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Apr 2014 16:05:10 +0000 (12:05 -0400)
Setting it to true during init doesn't seem to be any workaround while
it can cause problems (not enabling radio due to belief it's enabled).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c

index f0de7dd02060600b52f26a08f2af85723245d450..32e08d35c06e131118e761a7df207a59b7e0043d 100644 (file)
@@ -5178,7 +5178,6 @@ static int b43_wireless_core_attach(struct b43_wldev *dev)
        }
 
        dev->phy.gmode = have_2ghz_phy;
-       dev->phy.radio_on = true;
        b43_wireless_core_reset(dev, dev->phy.gmode);
 
        err = b43_phy_versioning(dev);