aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/drivers/driver_nl80211.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 7e07c60..7254ecc 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -9785,13 +9785,13 @@ static int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf,
if(i < 0)
return i;
return nl80211_toggle_wowlan_trigger(bss, i, 0);
+ } else if (os_strncasecmp(cmd, "SETBAND ", 8) == 0) {
+ /* Do nothing: Handled by wpa_supplicant_driver_cmd */
+ return 0;
} else if (os_strcasecmp(cmd, "RXFILTER-START") == 0) {
return nl80211_set_wowlan_triggers(bss, 1);
} else if (os_strcasecmp(cmd, "RXFILTER-STOP") == 0) {
return nl80211_set_wowlan_triggers(bss, 0);
- } else if (os_strcasecmp(cmd, "SETBAND") == 0) {
- /* Do nothing: Handled by wpa_supplicant_driver_cmd */
- ret = 0;
} else {
wpa_printf(MSG_ERROR, "Unsupported command: %s", cmd);
ret = -1;