diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-01-26 02:57:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-01-26 02:57:44 +0000 |
commit | 10e3ea9f129ce908abf7e1e73e318aef7d2f5e16 (patch) | |
tree | 840783aaef7ea3ed398f31e98b86b5b90d5c1331 /package/madwifi/patches/383-ibss_hostap.patch | |
parent | f561b910e8d47b4b488fd37a389c2973649a23fd (diff) | |
download | mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.zip mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.tar.gz mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.tar.bz2 |
madwifi: preserve the interface mode correctly when using wds with sta separation
SVN-Revision: 14195
Diffstat (limited to 'package/madwifi/patches/383-ibss_hostap.patch')
-rw-r--r-- | package/madwifi/patches/383-ibss_hostap.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/madwifi/patches/383-ibss_hostap.patch b/package/madwifi/patches/383-ibss_hostap.patch index 445f537..7ededce 100644 --- a/package/madwifi/patches/383-ibss_hostap.patch +++ b/package/madwifi/patches/383-ibss_hostap.patch @@ -1,6 +1,6 @@ --- a/ath/if_ath.c +++ b/ath/if_ath.c -@@ -1451,6 +1451,23 @@ ath_vap_create(struct ieee80211com *ic, +@@ -1452,6 +1452,23 @@ ath_vap_create(struct ieee80211com *ic, sc->sc_nstavaps++; else if (opmode == IEEE80211_M_MONITOR) sc->sc_nmonvaps++; @@ -24,7 +24,7 @@ /* * Adhoc demo mode is a pseudo mode; to the HAL it's * just IBSS mode and the driver doesn't use management -@@ -4278,7 +4295,8 @@ ath_calcrxfilter(struct ath_softc *sc) +@@ -4279,7 +4296,8 @@ ath_calcrxfilter(struct ath_softc *sc) if (ic->ic_opmode != IEEE80211_M_HOSTAP && (dev->flags & IFF_PROMISC)) rfilt |= HAL_RX_FILTER_PROM; if (ic->ic_opmode == IEEE80211_M_STA || @@ -34,7 +34,7 @@ (sc->sc_nostabeacons) || sc->sc_scanning || (ic->ic_opmode == IEEE80211_M_HOSTAP)) rfilt |= HAL_RX_FILTER_BEACON; -@@ -6432,6 +6450,33 @@ ath_capture(struct net_device *dev, cons +@@ -6433,6 +6451,33 @@ ath_capture(struct net_device *dev, cons } /* @@ -68,7 +68,7 @@ * Intercept management frames to collect beacon RSSI data and to do * ibss merges. This function is called for all management frames, * including those belonging to other BSS. -@@ -6484,10 +6529,19 @@ ath_recv_mgmt(struct ieee80211vap * vap, +@@ -6485,10 +6530,19 @@ ath_recv_mgmt(struct ieee80211vap * vap, DPRINTF(sc, ATH_DEBUG_BEACON, "Updated beacon timers\n"); } @@ -92,7 +92,7 @@ } /* NB: Fall Through */ case IEEE80211_FC0_SUBTYPE_PROBE_RESP: -@@ -6560,6 +6614,10 @@ ath_recv_mgmt(struct ieee80211vap * vap, +@@ -6561,6 +6615,10 @@ ath_recv_mgmt(struct ieee80211vap * vap, #endif if (do_merge) ieee80211_ibss_merge(ni); |