package/madwifi: refresh madwifi patches
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 411-autochannel_multi.patch
index 6e6d678fd49dd17d1c241c2b406f3eb1145d8797..d05c447f7b9c1d9eee3ae320725f4388c36d1ae6 100644 (file)
  }
  
  
-@@ -575,6 +583,7 @@ ap_end(struct ieee80211_scan_state *ss, 
+@@ -575,6 +583,7 @@ ap_end(struct ieee80211_scan_state *ss,
        struct ap_state *as = ss->ss_priv;
        struct ieee80211_channel *bestchan = NULL;
        struct ieee80211com *ic = NULL;
        int res = 1;
  
        SCAN_AP_LOCK_IRQ(as);
-@@ -586,8 +595,11 @@ ap_end(struct ieee80211_scan_state *ss, 
+@@ -586,8 +595,11 @@ ap_end(struct ieee80211_scan_state *ss,
  
        /* record stats for the channel that was scanned last */
        ic->ic_set_channel(ic);
                if (ss->ss_last > 0) {
                        /* no suitable channel, should not happen */
                        printk(KERN_ERR "%s: %s: no suitable channel! "
-@@ -606,6 +618,7 @@ ap_end(struct ieee80211_scan_state *ss, 
+@@ -606,6 +618,7 @@ ap_end(struct ieee80211_scan_state *ss,
                                        bestchan->ic_freq, bestchan->ic_flags &
                                        ~IEEE80211_CHAN_TURBO)) == NULL) {
                                /* should never happen ?? */
                                SCAN_AP_UNLOCK_IRQ_EARLY(as);
                                return 0;
                        }
-@@ -618,6 +631,9 @@ ap_end(struct ieee80211_scan_state *ss, 
+@@ -618,6 +631,9 @@ ap_end(struct ieee80211_scan_state *ss,
                        as->as_action = action;
                as->as_selbss = se;