madwifi: modify madwifi.sh to support IBSS WPA-NONE
[openwrt.git] / package / madwifi / patches / 368-sta_ie_preserve.patch
index 7094a43..fbd779e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net80211/ieee80211_scan_sta.c
 +++ b/net80211/ieee80211_scan_sta.c
-@@ -201,8 +201,10 @@
+@@ -201,8 +201,10 @@ sta_flush_table(struct sta_table *st)
  }
  
  static void
@@ -12,7 +12,7 @@
        if (ie == NULL)
                *iep = NULL;
        else
-@@ -304,10 +306,10 @@
+@@ -304,10 +306,10 @@ found:
                    (const struct ieee80211_tim_ie *) sp->tim;
                ise->se_dtimperiod = tim->tim_period;
        }
@@ -29,7 +29,7 @@
        if (se->se_fails && (jiffies - se->se_lastfail) > STA_FAILS_AGE*HZ) {
 --- a/net80211/ieee80211_input.c
 +++ b/net80211/ieee80211_input.c
-@@ -3106,6 +3106,7 @@
+@@ -3106,6 +3106,7 @@ ieee80211_recv_mgmt(struct ieee80211vap
                 */
                IEEE80211_VERIFY_LENGTH(efrm - frm, 12);
                memset(&scan, 0, sizeof(scan));
@@ -39,7 +39,7 @@
                scan.bintval = le16toh(*(__le16 *)frm);
 --- a/net80211/ieee80211_scan.h
 +++ b/net80211/ieee80211_scan.h
-@@ -133,6 +133,7 @@
+@@ -133,6 +133,7 @@ struct ieee80211_scanparams {
        u_int8_t erp;
        u_int16_t bintval;
        u_int8_t timoff;
This page took 0.020672 seconds and 4 git commands to generate.