diff options
author | Joe Perches <joe@perches.com> | 2015-03-30 03:29:42 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-04-07 19:10:23 +0200 |
commit | 12827fecf4dd47cc6e2b3a37edcdf81b52c9e2fa (patch) | |
tree | a788a7b19a67992cac49b9ea113b5e0d14b8fb7a /drivers/net/wireless/iwlwifi/iwl-config.h | |
parent | rtlwifi: Add encryption argument in rtl_is_special_data for checking DHCP pac... (diff) | |
download | linux-12827fecf4dd47cc6e2b3a37edcdf81b52c9e2fa.tar.xz linux-12827fecf4dd47cc6e2b3a37edcdf81b52c9e2fa.zip |
wireless: Use bool function returns of true/false instead of 1/0
Use bool constants as the return values instead of 1 and 0.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-config.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-config.h b/drivers/net/wireless/iwlwifi/iwl-config.h index 07e999a32a7f..3f33f753ce2f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-config.h +++ b/drivers/net/wireless/iwlwifi/iwl-config.h @@ -92,9 +92,9 @@ static inline bool iwl_has_secure_boot(u32 hw_rev, { /* return 1 only for family 8000 B0 */ if ((family == IWL_DEVICE_FAMILY_8000) && (hw_rev & 0xC)) - return 1; + return true; - return 0; + return false; } /* |