projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c386c
)
staging: wfx: change 1 to bool
author
Kaaira Gupta
<kgupta@es.iitr.ac.in>
Tue, 10 Mar 2020 14:25:05 +0000
(19:55 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 11 Mar 2020 07:04:53 +0000
(08:04 +0100)
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>
drivers/staging/wfx/data_tx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wfx/data_tx.c
b/drivers/staging/wfx/data_tx.c
index 815fde0913f5cea02b570048e99912325751e6c4..ef617347abade4bb44bf75405eeea22901c0714d 100644
(file)
--- a/
drivers/staging/wfx/data_tx.c
+++ b/
drivers/staging/wfx/data_tx.c
@@
-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);