diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-05-02 23:38:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-05-02 23:38:15 +0000 |
commit | a0744253b62aa617a5691812570008f5aaa5797b (patch) | |
tree | 7a66af6bc55d7d3600453ee2f8dddb366fe14b7b | |
parent | 07c4fcc4d40d6ffc55a02503509b901ce02cfd8f (diff) | |
download | upstream-a0744253b62aa617a5691812570008f5aaa5797b.tar.gz upstream-a0744253b62aa617a5691812570008f5aaa5797b.tar.bz2 upstream-a0744253b62aa617a5691812570008f5aaa5797b.zip |
hostapd: fix line reordering leading to segfaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21323 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/hostapd/patches/390-nl80211_fixes.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/hostapd/patches/390-nl80211_fixes.patch b/package/hostapd/patches/390-nl80211_fixes.patch index 2413a1266a..fdac284b64 100644 --- a/package/hostapd/patches/390-nl80211_fixes.patch +++ b/package/hostapd/patches/390-nl80211_fixes.patch @@ -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); |