diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2012-11-09 09:41:40 -0600 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-11-11 16:48:32 +0200 |
commit | b1ce8a6945f52737f2c62ec6c3a5c54f87d16b3d (patch) | |
tree | 96f3de64cd8e38c4e5b3975e6440e9c1db9282c9 | |
parent | 0e14818d3e4f9185d30638cb748c396c0f2b1efe (diff) | |
download | external_wpa_supplicant_8_ti-b1ce8a6945f52737f2c62ec6c3a5c54f87d16b3d.zip external_wpa_supplicant_8_ti-b1ce8a6945f52737f2c62ec6c3a5c54f87d16b3d.tar.gz external_wpa_supplicant_8_ti-b1ce8a6945f52737f2c62ec6c3a5c54f87d16b3d.tar.bz2 |
nl80211: add support for DRIVER COUNTRY command
Add this for supporting country command coming as DRIVER command in Android.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | src/drivers/driver_nl80211.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 7254ecc..b68dbd1 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -9788,6 +9788,8 @@ static int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, } else if (os_strncasecmp(cmd, "SETBAND ", 8) == 0) { /* Do nothing: Handled by wpa_supplicant_driver_cmd */ return 0; + } else if(os_strncasecmp(cmd, "COUNTRY ", 8) == 0) { + return wpa_driver_nl80211_set_country(priv, cmd + 8); } else if (os_strcasecmp(cmd, "RXFILTER-START") == 0) { return nl80211_set_wowlan_triggers(bss, 1); } else if (os_strcasecmp(cmd, "RXFILTER-STOP") == 0) { |