X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fhostapd%2Fpatches%2F710-bring_down_interface.patch;fp=package%2Fhostapd%2Fpatches%2F710-bring_down_interface.patch;h=bfd5ef6266fed2f1e37a9620ef5708c402ddf627;hp=29f29d38b03349d18210eafdc6f132b95ce42a5e;hb=49cfadebaca3aa39638394a72ae837b944a3c403;hpb=248931df8ebf79bc2ca15b367a421deda83ffef9 diff --git a/package/hostapd/patches/710-bring_down_interface.patch b/package/hostapd/patches/710-bring_down_interface.patch index 29f29d38b0..bfd5ef6266 100644 --- a/package/hostapd/patches/710-bring_down_interface.patch +++ b/package/hostapd/patches/710-bring_down_interface.patch @@ -1,6 +1,6 @@ --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c -@@ -4864,9 +4864,6 @@ static int wpa_driver_nl80211_set_mode(v +@@ -4883,9 +4883,6 @@ static int wpa_driver_nl80211_set_mode(v /* Try to set the mode again while the interface is * down */ ret = nl80211_set_mode(drv, drv->ifindex, nlmode); @@ -10,7 +10,7 @@ if (!ret) break; } else -@@ -4879,6 +4876,8 @@ static int wpa_driver_nl80211_set_mode(v +@@ -4898,6 +4895,8 @@ static int wpa_driver_nl80211_set_mode(v wpa_printf(MSG_DEBUG, "nl80211: Mode change succeeded while " "interface is down"); drv->nlmode = nlmode;