mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 22:06:31 +02:00
hostapd: fix line reordering leading to segfaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21323 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
45aa23838f
commit
7d292304ac
@ -99,11 +99,11 @@
|
||||
#endif /* HOSTAPD */
|
||||
|
||||
if (addr && iftype != NL80211_IFTYPE_MONITOR &&
|
||||
@@ -4765,6 +4761,7 @@ static void *i802_init(struct hostapd_da
|
||||
if (bss == NULL)
|
||||
@@ -4766,6 +4762,7 @@ static void *i802_init(struct hostapd_da
|
||||
return NULL;
|
||||
|
||||
+ drv->nlmode = NL80211_IFTYPE_AP;
|
||||
drv = bss->drv;
|
||||
+ drv->nlmode = NL80211_IFTYPE_AP;
|
||||
if (linux_br_get(brname, params->ifname) == 0) {
|
||||
wpa_printf(MSG_DEBUG, "nl80211: Interface %s is in bridge %s",
|
||||
params->ifname, brname);
|
||||
|
Loading…
Reference in New Issue
Block a user