diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-21 23:02:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-21 23:02:12 +0000 |
commit | 0e823a1b023430d1a8a67ccb6ffb03f4b4ab269d (patch) | |
tree | af87a6ddbfebb2854365648555520af4d5bc4570 /package/hostapd/patches/720-fix_wps_pin_crash.patch | |
parent | 17057a805e54103d740d3499c013d5a0b0b4c1ea (diff) | |
download | upstream-0e823a1b023430d1a8a67ccb6ffb03f4b4ab269d.tar.gz upstream-0e823a1b023430d1a8a67ccb6ffb03f4b4ab269d.tar.bz2 upstream-0e823a1b023430d1a8a67ccb6ffb03f4b4ab269d.zip |
hostapd: update to 2011-02-21, use PKG_MIRROR_MD5SUM, includes fixes for WPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26261 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/720-fix_wps_pin_crash.patch')
-rw-r--r-- | package/hostapd/patches/720-fix_wps_pin_crash.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/hostapd/patches/720-fix_wps_pin_crash.patch b/package/hostapd/patches/720-fix_wps_pin_crash.patch new file mode 100644 index 0000000000..e1a3184d64 --- /dev/null +++ b/package/hostapd/patches/720-fix_wps_pin_crash.patch @@ -0,0 +1,12 @@ +--- a/hostapd/ctrl_iface.c ++++ b/hostapd/ctrl_iface.c +@@ -514,6 +514,9 @@ static int hostapd_ctrl_iface_wps_ap_pin + char *pos; + const char *pin_txt; + ++ if (!hapd->wps) ++ return -1; ++ + pos = os_strchr(txt, ' '); + if (pos) + *pos++ = '\0'; |