ignore command that the wifi firmware does not support

This commit is contained in:
Jake Day 2017-11-17 16:09:03 -05:00
parent 73b91c4884
commit 0f4429e2e9

View file

@ -48,9 +48,14 @@ mwifiex_process_cmdresp_error(struct mwifiex_private *priv,
struct host_cmd_ds_802_11_ps_mode_enh *pm;
unsigned long flags;
mwifiex_dbg(adapter, ERROR,
"CMD_RESP: cmd %#x error, result=%#x\n",
resp->command, resp->result);
if (resp->command == 271 && resp->result == 2){
// ignore this command as the firmware does not support it
}
else {
mwifiex_dbg(adapter, ERROR,
"CMD_RESP: cmd %#x error, result=%#x\n",
resp->command, resp->result);
}
if (adapter->curr_cmd->wait_q_enabled)
adapter->cmd_wait_q.status = -1;