Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=52fb24cd83bdd6a1dcbd4cf4b3f5cafb741b5552
Commit:     52fb24cd83bdd6a1dcbd4cf4b3f5cafb741b5552
Parent:     e8fdeca241e17dcc5b8f2465be8e1a6347c62fb9
Author:     Michael Wu <[EMAIL PROTECTED]>
AuthorDate: Sun May 20 09:44:00 2007 -0700
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Tue May 29 10:34:05 2007 -0400

    [PATCH] mac80211: always set carrier status on open
    
    ieee80211_open should always set the carrier status since we may have set
    it to off before.
    
    Signed-off-by: Michael Wu <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 net/mac80211/ieee80211.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index 145604a..4e84f24 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -2474,6 +2474,8 @@ static int ieee80211_open(struct net_device *dev)
        if (sdata->type == IEEE80211_IF_TYPE_STA &&
            !local->user_space_mlme)
                netif_carrier_off(dev);
+       else
+               netif_carrier_on(dev);
 
        netif_start_queue(dev);
        return 0;
-
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