[B43]: Remove the "radio hw enabled" message on startup.
This message is useless. Only report state changes. Cc: Larry Finger <larry.finger@lwfinger.net> Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
61609bc0e4
commit
6a724d68a3
|
@ -2227,9 +2227,6 @@ static int b43_chip_init(struct b43_wldev *dev)
|
||||||
if (err)
|
if (err)
|
||||||
goto err_gpio_cleanup;
|
goto err_gpio_cleanup;
|
||||||
b43_radio_turn_on(dev);
|
b43_radio_turn_on(dev);
|
||||||
dev->radio_hw_enable = b43_is_hw_radio_enabled(dev);
|
|
||||||
b43dbg(dev->wl, "Radio %s by hardware\n",
|
|
||||||
dev->radio_hw_enable ? "enabled" : "disabled");
|
|
||||||
|
|
||||||
b43_write16(dev, 0x03E6, 0x0000);
|
b43_write16(dev, 0x03E6, 0x0000);
|
||||||
err = b43_phy_init(dev);
|
err = b43_phy_init(dev);
|
||||||
|
@ -3252,6 +3249,9 @@ static void setup_struct_wldev_for_init(struct b43_wldev *dev)
|
||||||
{
|
{
|
||||||
/* Flags */
|
/* Flags */
|
||||||
dev->reg124_set_0x4 = 0;
|
dev->reg124_set_0x4 = 0;
|
||||||
|
/* Assume the radio is enabled. If it's not enabled, the state will
|
||||||
|
* immediately get fixed on the first periodic work run. */
|
||||||
|
dev->radio_hw_enable = 1;
|
||||||
|
|
||||||
/* Stats */
|
/* Stats */
|
||||||
memset(&dev->stats, 0, sizeof(dev->stats));
|
memset(&dev->stats, 0, sizeof(dev->stats));
|
||||||
|
|
Loading…
Reference in a new issue