summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wpa_supplicant_8_lib
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-08-16 14:29:45 -0700
committerDmitry Shmidt <dimitrysh@google.com>2013-08-16 15:35:08 -0700
commitef8e2e571ffc2141a05c0087523e674b92ac2ea8 (patch)
tree2631c4ff04d34497d246277518b0b0085cb6e0f8 /bcmdhd/wpa_supplicant_8_lib
parent72b7f605a62ad3da896ce87ef35547de4cfdd33f (diff)
downloadhardware_broadcom_wlan-ef8e2e571ffc2141a05c0087523e674b92ac2ea8.zip
hardware_broadcom_wlan-ef8e2e571ffc2141a05c0087523e674b92ac2ea8.tar.gz
hardware_broadcom_wlan-ef8e2e571ffc2141a05c0087523e674b92ac2ea8.tar.bz2
bcmdhd: wpa_supplicant_lib: Allow buffer return for wls_batching commands
Bug: 9301872 Change-Id: If0f40ba155c0820d1fcc4625fe9dcadb118743d4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'bcmdhd/wpa_supplicant_8_lib')
-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 d9d7ec0..b43c01a 100644
--- a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
+++ b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
@@ -77,7 +77,8 @@ int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf,
ret = 0;
if ((os_strcasecmp(cmd, "LINKSPEED") == 0) ||
(os_strcasecmp(cmd, "RSSI") == 0) ||
- (os_strcasecmp(cmd, "GETBAND") == 0) )
+ (os_strcasecmp(cmd, "GETBAND") == 0) ||
+ (os_strncasecmp(cmd, "WLS_BATCHING", 12) == 0))
ret = strlen(buf);
else if ((os_strncasecmp(cmd, "COUNTRY", 7) == 0) ||
(os_strncasecmp(cmd, "SETBAND", 7) == 0))