diff options
author | Cristina Opriceana | 2015-03-04 11:37:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-03-07 00:30:07 +0100 |
commit | 19cd22972fbe419235b380a94f31c826809cafec (patch) | |
tree | 9926bb81c9fc9b2a6e50c54251026e2eddcee27d /drivers/staging/rtl8192u/ieee80211/dot11d.c | |
parent | staging: rtl8192e: Remove if conditions. (diff) | |
download | kernel-qcow2-linux-19cd22972fbe419235b380a94f31c826809cafec.tar.gz kernel-qcow2-linux-19cd22972fbe419235b380a94f31c826809cafec.tar.xz kernel-qcow2-linux-19cd22972fbe419235b380a94f31c826809cafec.zip |
Staging: drivers: Bool initializations should use true/false
This patch replaces bool initializations of 1/0 with true/false in order
to increase readability and respect the standards. Warning found by
coccinelle.
Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/dot11d.c')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/dot11d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.c b/drivers/staging/rtl8192u/ieee80211/dot11d.c index 90ace791f2d7..82d60380bb40 100644 --- a/drivers/staging/rtl8192u/ieee80211/dot11d.c +++ b/drivers/staging/rtl8192u/ieee80211/dot11d.c @@ -6,7 +6,7 @@ void Dot11d_Init(struct ieee80211_device *ieee) { PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(ieee); - pDot11dInfo->bEnabled = 0; + pDot11dInfo->bEnabled = false; pDot11dInfo->State = DOT11D_STATE_NONE; pDot11dInfo->CountryIeLen = 0; |