summaryrefslogtreecommitdiffhomepage
path: root/wireless.c
diff options
context:
space:
mode:
Diffstat (limited to 'wireless.c')
-rw-r--r--wireless.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wireless.c b/wireless.c
index 7a03ce8..7cc832d 100644
--- 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: