X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/eb1102a7ed82459092e9dbff3718bb2bfcd62ca8..e9c2d71d9206568fa901119d1ed697915aa539f3:/package/madwifi/patches/368-sta_ie_preserve.patch diff --git a/package/madwifi/patches/368-sta_ie_preserve.patch b/package/madwifi/patches/368-sta_ie_preserve.patch index 7094a4325..fbd779ea0 100644 --- a/package/madwifi/patches/368-sta_ie_preserve.patch +++ b/package/madwifi/patches/368-sta_ie_preserve.patch @@ -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;