summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
diff options
context:
space:
mode:
authorMichael Straube2018-07-21 20:57:38 +0200
committerGreg Kroah-Hartman2018-07-24 14:02:00 +0200
commita0cec709e17ae6d357c742bac0cbd6f7f84af998 (patch)
tree62b5717a097a8a3cd520f0d9f29d187f5437aedc /drivers/staging/rtl8188eu/core/rtw_ieee80211.c
parentstaging: rtl8188eu: refactor rtw_is_cckratesonly_included() (diff)
downloadkernel-qcow2-linux-a0cec709e17ae6d357c742bac0cbd6f7f84af998.tar.gz
kernel-qcow2-linux-a0cec709e17ae6d357c742bac0cbd6f7f84af998.tar.xz
kernel-qcow2-linux-a0cec709e17ae6d357c742bac0cbd6f7f84af998.zip
staging: rtl8188eu: change return type to bool
Both rtw_is_cckrates_included() and rtw_is_cckratesonly_included() return true or false. Change the return type from uint to bool. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_ieee80211.c')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_ieee80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
index 77eca07c92aa..d48840869307 100644
--- a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
+++ b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c
@@ -72,7 +72,7 @@ int rtw_get_bit_value_from_ieee_value(u8 val)
return 0;
}
-uint rtw_is_cckrates_included(u8 *rate)
+bool rtw_is_cckrates_included(u8 *rate)
{
while (*rate) {
u8 r = *rate & 0x7f;
@@ -85,7 +85,7 @@ uint rtw_is_cckrates_included(u8 *rate)
return false;
}
-uint rtw_is_cckratesonly_included(u8 *rate)
+bool rtw_is_cckratesonly_included(u8 *rate)
{
while (*rate) {
u8 r = *rate & 0x7f;