aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wfx/sta.c
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2019-11-05 01:03:52 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-05 17:50:21 +0100
commit168c7d76425d053ca6a311e450ac3627cffff5a7 (patch)
treed7bacab6c14a3b6f4de44eb543da6cf933a3c22f /drivers/staging/wfx/sta.c
parentstaging: wfx: replace 0 by NULL (diff)
downloadlinux-dev-168c7d76425d053ca6a311e450ac3627cffff5a7.tar.xz
linux-dev-168c7d76425d053ca6a311e450ac3627cffff5a7.zip
staging: wfx: replace 1 by true
Replace 1 by true when it is stored in a boolean variable. Recommended by coccinelle tool. Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Link: https://lore.kernel.org/r/20191105010352.222479-3-jbi.octave@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/sta.c')
-rw-r--r--drivers/staging/wfx/sta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c
index 93f3739b5f3a..70a00b84ac5f 100644
--- a/drivers/staging/wfx/sta.c
+++ b/drivers/staging/wfx/sta.c
@@ -291,7 +291,7 @@ u64 wfx_prepare_multicast(struct ieee80211_hw *hw, struct netdev_hw_addr_list *m
ether_addr_copy(wvif->mcast_filter.address_list[i], ha->addr);
i++;
}
- wvif->mcast_filter.enable = 1;
+ wvif->mcast_filter.enable = true;
wvif->mcast_filter.num_addresses = count;
}