diff options
author | Vihas Makwana <makvihas@gmail.com> | 2022-03-03 02:17:22 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-14 18:27:14 +0100 |
commit | 765b9808cd21708dd99fae31ccfb9045aba84b23 (patch) | |
tree | 69c2d75f35eaeced1aef762364e7d674081db2cf /drivers/staging | |
parent | 4a51c297f8ffd1621828b856ab89f01d1a2eec81 (diff) | |
download | linux-765b9808cd21708dd99fae31ccfb9045aba84b23.tar.bz2 |
staging: r8188eu: mark rtw_is_cckrates_included as bool
Mark rtw_is_cckrates_included as bool as it returns true/false.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220302204737.49056-2-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/r8188eu/core/rtw_ieee80211.c | 2 | ||||
-rw-r--r-- | drivers/staging/r8188eu/include/ieee80211.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_ieee80211.c b/drivers/staging/r8188eu/core/rtw_ieee80211.c index 62354c3194bd..a7b7b0f1407a 100644 --- a/drivers/staging/r8188eu/core/rtw_ieee80211.c +++ b/drivers/staging/r8188eu/core/rtw_ieee80211.c @@ -68,7 +68,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) { u32 i = 0; diff --git a/drivers/staging/r8188eu/include/ieee80211.h b/drivers/staging/r8188eu/include/ieee80211.h index 3a860e132cbd..1a15db09799d 100644 --- a/drivers/staging/r8188eu/include/ieee80211.h +++ b/drivers/staging/r8188eu/include/ieee80211.h @@ -872,7 +872,7 @@ int rtw_generate_ie(struct registry_priv *pregistrypriv); int rtw_get_bit_value_from_ieee_value(u8 val); -uint rtw_is_cckrates_included(u8 *rate); +bool rtw_is_cckrates_included(u8 *rate); uint rtw_is_cckratesonly_included(u8 *rate); |