mac80211: sync fast-rx patch with updated version
[openwrt/staging/blogic.git] / package / kernel / mac80211 / patches / 334-mac80211-support-station-4-addr-mode-fast-rx.patch
index 8f9cba138f70aba0750124a1d97960ab7a8313bd..97a5d8bebaa7dc1524b99876edc6f51d93f65a48 100644 (file)
@@ -5,24 +5,6 @@ Subject: [PATCH] mac80211: support station 4-addr mode fast-rx
 Signed-off-by: Felix Fietkau <nbd@nbd.name>
 ---
 
---- a/net/mac80211/cfg.c
-+++ b/net/mac80211/cfg.c
-@@ -160,7 +160,6 @@ static int ieee80211_change_iface(struct
-       if (type == NL80211_IFTYPE_AP_VLAN &&
-           params && params->use_4addr == 0) {
-               RCU_INIT_POINTER(sdata->u.vlan.sta, NULL);
--              ieee80211_check_fast_rx_iface(sdata);
-       } else if (type == NL80211_IFTYPE_STATION &&
-                  params && params->use_4addr >= 0) {
-               sdata->u.mgd.use_4addr = params->use_4addr;
-@@ -1574,7 +1573,6 @@ static int ieee80211_change_station(stru
-                       }
-                       rcu_assign_pointer(vlansdata->u.vlan.sta, sta);
--                      __ieee80211_check_fast_rx_iface(vlansdata);
-               }
-               if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
 --- a/net/mac80211/rx.c
 +++ b/net/mac80211/rx.c
 @@ -3738,10 +3738,6 @@ void ieee80211_check_fast_rx(struct sta_