projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
packages: sort network related packages into package/network/
[oweals/openwrt.git]
/
package
/
network
/
services
/
hostapd
/
patches
/
520-fix_wps_pin_crash.patch
1
--- a/hostapd/ctrl_iface.c
2
+++ b/hostapd/ctrl_iface.c
3
@@ -450,6 +450,9 @@ static int hostapd_ctrl_iface_wps_ap_pin
4
char *pos;
5
const char *pin_txt;
6
7
+ if (!hapd->wps)
8
+ return -1;
9
+
10
pos = os_strchr(txt, ' ');
11
if (pos)
12
*pos++ = '\0';