projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2cc14
)
wireless: fix parsing of the immediate flag for kill-all
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 1 Dec 2013 13:42:51 +0000
(14:42 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 1 Dec 2013 13:42:51 +0000
(14:42 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c
patch
|
blob
|
history
diff --git
a/wireless.c
b/wireless.c
index 273d54bd93d510664ddfb2943c730b59a4368328..7d61a6108f5414c9c2e9549356bc83d8288a0946 100644
(file)
--- a/
wireless.c
+++ b/
wireless.c
@@
-762,7
+762,7
@@
wireless_device_process_kill_all(struct wireless_device *wdev, struct blob_attr
signal = blobmsg_get_u32(cur);
if ((cur = tb[KILL_ATTR_IMMEDIATE]))
- immediate = blobmsg_get_
u32
(cur);
+ immediate = blobmsg_get_
bool
(cur);
if (wdev->state != IFS_TEARDOWN || wdev->kill_request)
return UBUS_STATUS_PERMISSION_DENIED;