Search Linux Wireless

[PATCH] b43legacy: Change radio hardware switch printk from debug to regular

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch changes the printouts of the initial state of the
radio on/off switch from debug to normal mode. The change is
needed because some distros have debug disabled in their precompiled
drivers, which complicates the initial troubleshooting.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
CC: Michael Buesch <mb@xxxxxxxxx>
---

 main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: wireless-dev/drivers/net/wireless/b43legacy/main.c
===================================================================
--- wireless-dev.orig/drivers/net/wireless/b43legacy/main.c
+++ wireless-dev/drivers/net/wireless/b43legacy/main.c
@@ -2046,7 +2046,7 @@ static int b43legacy_chip_init(struct b4
 		goto err_gpio_cleanup;
 	b43legacy_radio_turn_on(dev);
 	dev->radio_hw_enable = b43legacy_is_hw_radio_enabled(dev);
-	b43legacydbg(dev->wl, "Radio %s by hardware\n",
+	b43legacyinfo(dev->wl, "Radio %s by hardware\n",
 	       (dev->radio_hw_enable == 0) ? "disabled" : "enabled");
 
 	b43legacy_write16(dev, 0x03E6, 0x0000);
@@ -2175,7 +2175,7 @@ static void b43legacy_periodic_every1sec
 	radio_hw_enable = b43legacy_is_hw_radio_enabled(dev);
 	if (unlikely(dev->radio_hw_enable != radio_hw_enable)) {
 		dev->radio_hw_enable = radio_hw_enable;
-		b43legacydbg(dev->wl, "Radio hardware status changed to %s\n",
+		b43legacyinfo(dev->wl, "Radio hardware status changed to %s\n",
 		       (radio_hw_enable == 0) ? "disabled" : "enabled");
 		b43legacy_leds_update(dev, 0);
 	}
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux