diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2012-09-24 15:07:11 -0500 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-09-25 11:46:47 +0200 |
commit | a4b1942c82d2540cedcf76dbdd6ce7a23d7805fd (patch) | |
tree | dd82171a7dccfcd19556eb1bbb05c48ddf8a0fc0 /src | |
parent | 4e69322725093ebd07be1c874c22483827074696 (diff) | |
download | external_wpa_supplicant_8_ti-a4b1942c82d2540cedcf76dbdd6ce7a23d7805fd.zip external_wpa_supplicant_8_ti-a4b1942c82d2540cedcf76dbdd6ce7a23d7805fd.tar.gz external_wpa_supplicant_8_ti-a4b1942c82d2540cedcf76dbdd6ce7a23d7805fd.tar.bz2 |
nl80211: dummy DRIVER SETBAND handler
SETBAND command is handled in wpa_supplicant_driver_cmd API.
Add a dummy handler in driver_nl80211 for avoiding misleading log,
"Unsupported command: SETBAND ".
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/driver_nl80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index a1a09a5..7e07c60 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -9789,6 +9789,9 @@ static int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, 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; |