mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging: wfx: change 1 to bool
policies[i].uploaded is a bool. 1 is assigned to it. Change it to bool. Signed-off-by: Kaaira Gupta <kgupta@es.iitr.ac.in> Link: https://lore.kernel.org/r/20200310142509.25632-3-kgupta@es.iitr.ac.in Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
98c386c264
commit
c67dc09fac
@ -227,7 +227,7 @@ static int wfx_tx_policy_upload(struct wfx_vif *wvif)
|
||||
memzcmp(policies[i].rates, sizeof(policies[i].rates)))
|
||||
break;
|
||||
if (i < HIF_MIB_NUM_TX_RATE_RETRY_POLICIES) {
|
||||
policies[i].uploaded = 1;
|
||||
policies[i].uploaded = true;
|
||||
memcpy(tmp_rates, policies[i].rates, sizeof(tmp_rates));
|
||||
spin_unlock_bh(&wvif->tx_policy_cache.lock);
|
||||
hif_set_tx_rate_retry_policy(wvif, i, tmp_rates);
|
||||
|
Loading…
Reference in New Issue
Block a user