aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2012-11-09 09:41:40 -0600
committerArik Nemtsov <arik@wizery.com>2012-11-11 16:48:32 +0200
commitb1ce8a6945f52737f2c62ec6c3a5c54f87d16b3d (patch)
tree96f3de64cd8e38c4e5b3975e6440e9c1db9282c9 /src
parent0e14818d3e4f9185d30638cb748c396c0f2b1efe (diff)
downloadexternal_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>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c2
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) {