Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cbf1b12 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by John W. Linville
Browse files

iwlwifi: send tx_power_cmd synchronously



On 5xxx and 6xxx change to send tx_power_cmd command synchronously,
to do not start other commands when setting tx power is pending.
We currently do the same for 4956 and 3945.

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4beeba7d
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -526,9 +526,8 @@ int iwlagn_send_tx_power(struct iwl_priv *priv)
	else
	else
		tx_ant_cfg_cmd = REPLY_TX_POWER_DBM_CMD;
		tx_ant_cfg_cmd = REPLY_TX_POWER_DBM_CMD;


	return  iwl_send_cmd_pdu_async(priv, tx_ant_cfg_cmd,
	return iwl_send_cmd_pdu(priv, tx_ant_cfg_cmd, sizeof(tx_power_cmd),
				       sizeof(tx_power_cmd), &tx_power_cmd,
				&tx_power_cmd);
				       NULL);
}
}


void iwlagn_temperature(struct iwl_priv *priv)
void iwlagn_temperature(struct iwl_priv *priv)