diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-08-16 14:29:45 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2013-08-16 15:35:08 -0700 |
commit | ef8e2e571ffc2141a05c0087523e674b92ac2ea8 (patch) | |
tree | 2631c4ff04d34497d246277518b0b0085cb6e0f8 | |
parent | 72b7f605a62ad3da896ce87ef35547de4cfdd33f (diff) | |
download | hardware_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>
-rw-r--r-- | bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c | 3 |
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)) |