summaryrefslogtreecommitdiffstats
path: root/bcmdhd
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-04-24 11:22:01 -0700
committerDmitry Shmidt <dimitrysh@google.com>2013-04-26 10:43:01 -0700
commit6d97ec46bbec3f31c652c0208e3393d7aa2bee71 (patch)
tree57ef806a992ab5a2d11cf5c50ce3215d8fae0348 /bcmdhd
parent68f088fc9aab984dbd830b5f28893ccdc8741c53 (diff)
downloadhardware_broadcom_wlan-6d97ec46bbec3f31c652c0208e3393d7aa2bee71.zip
hardware_broadcom_wlan-6d97ec46bbec3f31c652c0208e3393d7aa2bee71.tar.gz
hardware_broadcom_wlan-6d97ec46bbec3f31c652c0208e3393d7aa2bee71.tar.bz2
wpa_supplicant_lib: Notify wpa_supplicant about channels after band change
Change-Id: Iff80c43e9d8bdd082ea1e04783778f173d0c79b4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'bcmdhd')
-rw-r--r--bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
index 720243e..3ebcd08 100644
--- a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
+++ b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
@@ -79,7 +79,8 @@ int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf,
(os_strcasecmp(cmd, "RSSI") == 0) ||
(os_strcasecmp(cmd, "GETBAND") == 0) )
ret = strlen(buf);
- else if (os_strncasecmp(cmd, "COUNTRY", 7) == 0)
+ else if ((os_strncasecmp(cmd, "COUNTRY", 7) == 0) ||
+ (os_strncasecmp(cmd, "SETBAND", 7) == 0))
wpa_supplicant_event(drv->ctx,
EVENT_CHANNEL_LIST_CHANGED, NULL);
wpa_printf(MSG_DEBUG, "%s %s len = %d, %d", __func__, buf, ret, strlen(buf));