Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6a724d68a38c33ba4c7f7b5f008301ac12c9ced1
Commit:     6a724d68a38c33ba4c7f7b5f008301ac12c9ced1
Parent:     61609bc0e4d3bc677ecdccf216a0a77563f52457
Author:     Michael Buesch <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 20 22:12:58 2007 +0200
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:52:24 2007 -0700

    [B43]: Remove the "radio hw enabled" message on startup.
    
    This message is useless. Only report state changes.
    
    Cc: Larry Finger <[EMAIL PROTECTED]>
    Signed-off-by: Michael Buesch <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/wireless/b43/main.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 1390f41..cc52854 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2227,9 +2227,6 @@ static int b43_chip_init(struct b43_wldev *dev)
        if (err)
                goto err_gpio_cleanup;
        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);
        err = b43_phy_init(dev);
@@ -3252,6 +3249,9 @@ static void setup_struct_wldev_for_init(struct b43_wldev 
*dev)
 {
        /* Flags */
        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 */
        memset(&dev->stats, 0, sizeof(dev->stats));
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to