kernel: fq_codel: dont reinit flow state
[openwrt.git] / package / hostapd / patches / 100-pending_work.patch
index 4f9dfbe..1c97a64 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/ap/ieee802_11.c
 +++ b/src/ap/ieee802_11.c
-@@ -1488,13 +1488,6 @@ static void handle_assoc_cb(struct hosta
+@@ -1506,13 +1506,6 @@ static void handle_assoc_cb(struct hosta
        int new_assoc = 1;
        struct ieee80211_ht_capabilities ht_cap;
  
@@ -14,7 +14,7 @@
        if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_resp) :
                                      sizeof(mgmt->u.assoc_resp))) {
                printf("handle_assoc_cb(reassoc=%d) - too short payload "
-@@ -1502,11 +1495,6 @@ static void handle_assoc_cb(struct hosta
+@@ -1520,11 +1513,6 @@ static void handle_assoc_cb(struct hosta
                return;
        }
  
@@ -26,7 +26,7 @@
        sta = ap_get_sta(hapd, mgmt->da);
        if (!sta) {
                printf("handle_assoc_cb: STA " MACSTR " not found\n",
-@@ -1514,6 +1502,19 @@ static void handle_assoc_cb(struct hosta
+@@ -1532,6 +1520,19 @@ static void handle_assoc_cb(struct hosta
                return;
        }
  
@@ -46,7 +46,7 @@
        if (status != WLAN_STATUS_SUCCESS)
                goto fail;
  
-@@ -1812,6 +1813,9 @@ void ieee802_11_rx_from_unknown(struct h
+@@ -1830,6 +1831,9 @@ void ieee802_11_rx_from_unknown(struct h
  
        sta = ap_get_sta(hapd, src);
        if (sta && (sta->flags & WLAN_STA_ASSOC)) {
@@ -58,7 +58,7 @@
                                   "STA " MACSTR " (aid %u)",
 --- a/src/drivers/driver_nl80211.c
 +++ b/src/drivers/driver_nl80211.c
-@@ -2588,10 +2588,10 @@ static int wpa_driver_nl80211_capa(struc
+@@ -2661,10 +2661,10 @@ static int wpa_driver_nl80211_capa(struc
        drv->data_tx_status = info.data_tx_status;
  
        /*
@@ -72,7 +72,7 @@
  
        if (drv->device_ap_sme && drv->use_monitor) {
                /*
-@@ -6267,8 +6267,8 @@ static int wpa_driver_nl80211_hapd_send_
+@@ -6392,8 +6392,8 @@ static int wpa_driver_nl80211_hapd_send_
        pos = (u8 *) (hdr + 1);
  
        if (qos) {
@@ -83,8 +83,8 @@
                pos[1] = 0;
                pos += 2;
        }
-@@ -7533,6 +7533,10 @@ static int i802_set_wds_sta(void *priv, 
-               linux_set_iface_flags(drv->global->ioctl_sock, name, 1);
+@@ -7698,6 +7698,10 @@ static int i802_set_wds_sta(void *priv, 
+               }
                return i802_set_sta_vlan(priv, addr, name, 0);
        } else {
 +              if (bridge_ifname)
@@ -94,7 +94,7 @@
                i802_set_sta_vlan(priv, addr, bss->ifname, 0);
                return wpa_driver_nl80211_if_remove(priv, WPA_IF_AP_VLAN,
                                                    name);
-@@ -7900,7 +7904,12 @@ static int wpa_driver_nl80211_if_remove(
+@@ -8065,7 +8069,12 @@ static int wpa_driver_nl80211_if_remove(
        if (ifindex <= 0)
                return -1;
  
        if (bss->added_if_into_bridge) {
                if (linux_br_del_if(drv->global->ioctl_sock, bss->brname,
                                    bss->ifname) < 0)
-@@ -7914,13 +7923,6 @@ static int wpa_driver_nl80211_if_remove(
+@@ -8079,13 +8088,6 @@ static int wpa_driver_nl80211_if_remove(
                                   "bridge %s: %s",
                                   bss->brname, strerror(errno));
        }