summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wpa_supplicant_8_lib
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-08-29 12:07:40 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-08-29 12:07:40 -0700
commitb5a7f4e4771bbb16cb327b1315f03e0c4acdfb84 (patch)
tree8bb11100ddde2ac0e307e893c7b774911b8a01fa /bcmdhd/wpa_supplicant_8_lib
parente6a5129f4e5a828a81ab01aa016022cd16ab1e91 (diff)
downloadhardware_broadcom_wlan-b5a7f4e4771bbb16cb327b1315f03e0c4acdfb84.zip
hardware_broadcom_wlan-b5a7f4e4771bbb16cb327b1315f03e0c4acdfb84.tar.gz
hardware_broadcom_wlan-b5a7f4e4771bbb16cb327b1315f03e0c4acdfb84.tar.bz2
bcmdhd: wpa_supplicant: Fix BTCOEXMODE command
Change-Id: Ia5f1312a7744834ee0c0f543b885007ae1deb9dd 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.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
index f0313c8..2c9241e 100644
--- a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
+++ b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
@@ -42,23 +42,6 @@ static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv)
}
}
-static int wpa_driver_set_btcoex_state(char state)
-{
- int ret;
- int fd;
-
- fd = open("/sys/devices/platform/bcmdhd/bt_coex_state", O_RDWR, 0);
- if (fd == -1)
- return -1;
-
- ret = write(fd, &state, sizeof(state));
- close(fd);
-
- wpa_printf(MSG_DEBUG, "%s: set btcoex state to '%c' result = %d",
- __func__, state, ret);
- return (ret > 0) ? 0 : -1;
-}
-
static int wpa_driver_set_power_save(void *priv, int state)
{
struct i802_bss *bss = priv;
@@ -262,10 +245,6 @@ int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf,
} else {
wpa_driver_send_hang_msg(drv);
}
- } else if (os_strncasecmp(cmd, "BTCOEXMODE ", 11) == 0) {
- char state = cmd[11];
-
- ret = wpa_driver_set_btcoex_state(state);
} else { /* Use private command */
if (os_strcasecmp(cmd, "BGSCAN-START") == 0) {
ret = wpa_driver_set_backgroundscan_params(priv);