ignore command that the wifi firmware does not support
This commit is contained in:
parent
73b91c4884
commit
0f4429e2e9
|
@ -48,9 +48,14 @@ mwifiex_process_cmdresp_error(struct mwifiex_private *priv,
|
||||||
struct host_cmd_ds_802_11_ps_mode_enh *pm;
|
struct host_cmd_ds_802_11_ps_mode_enh *pm;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
|
if (resp->command == 271 && resp->result == 2){
|
||||||
|
// ignore this command as the firmware does not support it
|
||||||
|
}
|
||||||
|
else {
|
||||||
mwifiex_dbg(adapter, ERROR,
|
mwifiex_dbg(adapter, ERROR,
|
||||||
"CMD_RESP: cmd %#x error, result=%#x\n",
|
"CMD_RESP: cmd %#x error, result=%#x\n",
|
||||||
resp->command, resp->result);
|
resp->command, resp->result);
|
||||||
|
}
|
||||||
|
|
||||||
if (adapter->curr_cmd->wait_q_enabled)
|
if (adapter->curr_cmd->wait_q_enabled)
|
||||||
adapter->cmd_wait_q.status = -1;
|
adapter->cmd_wait_q.status = -1;
|
||||||
|
|
Loading…
Reference in a new issue