X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fhostapd%2Fpatches%2F150-mbss_driver_handling.patch;h=6c55b4095c3c83485280d0e240f9f69de13675e3;hb=4c776cf0938d9e7ab9e02798264c57cf04f46246;hp=412dc1cce98edc33903cb9f35f9197c36f1ea0c4;hpb=19555b702efd6bb5b76d8ded7ddb10da4d7cd3aa;p=openwrt%2Fopenwrt.git diff --git a/package/hostapd/patches/150-mbss_driver_handling.patch b/package/hostapd/patches/150-mbss_driver_handling.patch index 412dc1cce9..6c55b4095c 100644 --- a/package/hostapd/patches/150-mbss_driver_handling.patch +++ b/package/hostapd/patches/150-mbss_driver_handling.patch @@ -903,8 +903,12 @@ return -1; } -@@ -4484,9 +4483,12 @@ static int wpa_driver_nl80211_if_add(con - os_free(bss); +@@ -4481,12 +4480,15 @@ static int wpa_driver_nl80211_if_add(con + if (type == WPA_IF_AP_BSS) { + if (linux_set_iface_flags(drv->ioctl_sock, ifname, 1)) { + nl80211_remove_iface(drv, ifidx); +- os_free(bss); ++ os_free(new_bss); return -1; } - bss->ifindex = ifidx;