summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGanapathi Bhat <gbhat@marvell.com>2015-10-09 04:26:33 -0700
committerKalle Valo <kvalo@codeaurora.org>2015-10-14 14:22:06 +0300
commit505c5cb82ddf0fb6a88d1fc2fbf2386133a9ffcd (patch)
treea3408f436eac9fe5de3dbd51cd0ef33fc2be5cac /drivers
parent46dbe2476c93026b20ddf36c6995e678bd867000 (diff)
downloadop-kernel-dev-505c5cb82ddf0fb6a88d1fc2fbf2386133a9ffcd.zip
op-kernel-dev-505c5cb82ddf0fb6a88d1fc2fbf2386133a9ffcd.tar.gz
mwifiex: fix AP VHT behaviour
Even if hostapd configuration file contains VHT parameters, they were not getting reflected in beacons. The reason is we are resetting them before starting AP. This patch removes redundant BSS_STOP and SYS_RESET firmware commands before starting AP to fix the problem. Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/mwifiex/uap_cmd.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/wireless/mwifiex/uap_cmd.c b/drivers/net/wireless/mwifiex/uap_cmd.c
index 4d5a6e3..759a6ad 100644
--- a/drivers/net/wireless/mwifiex/uap_cmd.c
+++ b/drivers/net/wireless/mwifiex/uap_cmd.c
@@ -846,22 +846,6 @@ int mwifiex_config_start_uap(struct mwifiex_private *priv,
{
enum state_11d_t state_11d;
- if (mwifiex_del_mgmt_ies(priv))
- mwifiex_dbg(priv->adapter, ERROR,
- "Failed to delete mgmt IEs!\n");
-
- if (mwifiex_send_cmd(priv, HostCmd_CMD_UAP_BSS_STOP,
- HostCmd_ACT_GEN_SET, 0, NULL, true)) {
- mwifiex_dbg(priv->adapter, ERROR, "Failed to stop the BSS\n");
- return -1;
- }
-
- if (mwifiex_send_cmd(priv, HOST_CMD_APCMD_SYS_RESET,
- HostCmd_ACT_GEN_SET, 0, NULL, true)) {
- mwifiex_dbg(priv->adapter, ERROR, "Failed to reset BSS\n");
- return -1;
- }
-
if (mwifiex_send_cmd(priv, HostCmd_CMD_UAP_SYS_CONFIG,
HostCmd_ACT_GEN_SET,
UAP_BSS_PARAMS_I, bss_cfg, false)) {
OpenPOWER on IntegriCloud