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:
0f4d91e
)
wireless: fix config state handling
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 1 Dec 2013 09:22:40 +0000
(10:22 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 1 Dec 2013 09:22:44 +0000
(10:22 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c
patch
|
blob
|
history
diff --git
a/wireless.c
b/wireless.c
index 7a03ce85cc337ab04ec2e9674eb451cdd9521533..7cc832dfbff0909fe1676a8090c2ac9ea506a332 100644
(file)
--- a/
wireless.c
+++ b/
wireless.c
@@
-352,7
+352,10
@@
wireless_device_free(struct wireless_device *wdev)
static void
wdev_handle_config_change(struct wireless_device *wdev)
{
- switch(wdev->config_state) {
+ enum interface_config_state state = wdev->config_state;
+
+ wdev->config_state = IFC_NORMAL;
+ switch(state) {
case IFC_NORMAL:
break;
case IFC_RELOAD: