mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
MA-21620 Wi-Fi: WiFi doesn't work if connected multi BT devices
Reason:merge WCS Q3RC2 17408.p4 patch to fix MA-21620 Tested:on 2 8MQ WEVK board, issue not reproduced over16 hours Change-Id: I1030503d90dac9fb9e91597f4f4fe81b1271f874 Signed-off-by: yunjie <yunjie.jia@nxp.com>
This commit is contained in:
parent
e6e7751008
commit
33e644c3e1
3 changed files with 15 additions and 16 deletions
|
@ -1509,19 +1509,7 @@ static mlan_status wlan_dnld_sleep_confirm_cmd(mlan_adapter *pmadapter)
|
||||||
cmd_len + pmadapter->ops.intf_header_len;
|
cmd_len + pmadapter->ops.intf_header_len;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (pmbuf)
|
if (pmbuf) {
|
||||||
ret = pmadapter->ops.host_to_card(pmpriv, MLAN_TYPE_CMD, pmbuf,
|
|
||||||
MNULL);
|
|
||||||
|
|
||||||
#ifdef USB
|
|
||||||
if (IS_USB(pmadapter->card_type) && (ret != MLAN_STATUS_PENDING))
|
|
||||||
wlan_free_mlan_buffer(pmadapter, pmbuf);
|
|
||||||
#endif
|
|
||||||
if (ret == MLAN_STATUS_FAILURE) {
|
|
||||||
PRINTM(MERROR, "SLEEP_CFM: failed\n");
|
|
||||||
pmadapter->dbg.num_cmd_sleep_cfm_host_to_card_failure++;
|
|
||||||
goto done;
|
|
||||||
} else {
|
|
||||||
if (GET_BSS_ROLE(pmpriv) == MLAN_BSS_ROLE_UAP)
|
if (GET_BSS_ROLE(pmpriv) == MLAN_BSS_ROLE_UAP)
|
||||||
pmadapter->ps_state = PS_STATE_SLEEP_CFM;
|
pmadapter->ps_state = PS_STATE_SLEEP_CFM;
|
||||||
#ifdef STA_SUPPORT
|
#ifdef STA_SUPPORT
|
||||||
|
@ -1558,8 +1546,19 @@ static mlan_status wlan_dnld_sleep_confirm_cmd(mlan_adapter *pmadapter)
|
||||||
else
|
else
|
||||||
PRINTM(MEVENT, "+");
|
PRINTM(MEVENT, "+");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
ret = pmadapter->ops.host_to_card(pmpriv, MLAN_TYPE_CMD, pmbuf,
|
||||||
|
MNULL);
|
||||||
|
}
|
||||||
|
#ifdef USB
|
||||||
|
if (IS_USB(pmadapter->card_type) && (ret != MLAN_STATUS_PENDING))
|
||||||
|
wlan_free_mlan_buffer(pmadapter, pmbuf);
|
||||||
|
#endif
|
||||||
|
if (ret == MLAN_STATUS_FAILURE) {
|
||||||
|
PRINTM(MERROR, "SLEEP_CFM: failed\n");
|
||||||
|
pmadapter->dbg.num_cmd_sleep_cfm_host_to_card_failure++;
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
done:
|
done:
|
||||||
LEAVE();
|
LEAVE();
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#define _MLAN_DECL_H_
|
#define _MLAN_DECL_H_
|
||||||
|
|
||||||
/** MLAN release version */
|
/** MLAN release version */
|
||||||
#define MLAN_RELEASE_VERSION "408.p3"
|
#define MLAN_RELEASE_VERSION "408.p4"
|
||||||
|
|
||||||
/** Re-define generic data types for MLAN/MOAL */
|
/** Re-define generic data types for MLAN/MOAL */
|
||||||
/** Signed char (1-byte) */
|
/** Signed char (1-byte) */
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#define _MLAN_DECL_H_
|
#define _MLAN_DECL_H_
|
||||||
|
|
||||||
/** MLAN release version */
|
/** MLAN release version */
|
||||||
#define MLAN_RELEASE_VERSION "408.p3"
|
#define MLAN_RELEASE_VERSION "408.p4"
|
||||||
|
|
||||||
/** Re-define generic data types for MLAN/MOAL */
|
/** Re-define generic data types for MLAN/MOAL */
|
||||||
/** Signed char (1-byte) */
|
/** Signed char (1-byte) */
|
||||||
|
|
Loading…
Reference in a new issue