From: Rafał Miłecki Date: Tue, 22 Apr 2014 11:54:37 +0000 (+0200) Subject: b43: don't pre-set radio_on variable to true X-Git-Tag: firefly_0821_release~176^2~3540^2~11^2~7^2~151 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7c3c20a38c03579dfb348be6c73b97f2b364a987;p=firefly-linux-kernel-4.4.55.git b43: don't pre-set radio_on variable to true 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index f0de7dd02060..32e08d35c06e 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -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);