summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wpa_supplicant_8_lib
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-09-29 11:53:41 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-09-29 11:53:41 -0700
commit84a6f421731815c6a28b487300de7b551776ae71 (patch)
treeb87a5a50286bc612dfe039e893fe8b6b892ce6c8 /bcmdhd/wpa_supplicant_8_lib
parentf8a0744fc1a9c68e90ad90d4209bbafbf85f6b94 (diff)
parent57903f41d712f5dee12bc3e9dfb917c494af5bc3 (diff)
downloadhardware_broadcom_wlan-84a6f421731815c6a28b487300de7b551776ae71.zip
hardware_broadcom_wlan-84a6f421731815c6a28b487300de7b551776ae71.tar.gz
hardware_broadcom_wlan-84a6f421731815c6a28b487300de7b551776ae71.tar.bz2
am 57903f41: bcmdhd: wpa_supplicant: Fix get_noa() return value
* commit '57903f41d712f5dee12bc3e9dfb917c494af5bc3': bcmdhd: wpa_supplicant: Fix get_noa() return value
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 031f420..fdaca25 100644
--- a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
+++ b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
@@ -274,7 +274,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_strcasecmp(cmd, "P2P_GET_NOA") == 0))
ret = strlen(buf);
wpa_printf(MSG_DEBUG, "%s %s len = %d, %d", __func__, buf, ret, strlen(buf));