Functions cckrates_included() and cckratesonly_included() return boolean values. Convert the return type from int to bool. Signed-off-by: Michael Straube <straube.linux@xxxxxxxxx> --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c index 22e4305d70a2..7733d076af85 100644 --- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c @@ -54,7 +54,7 @@ static u8 rtw_basic_rate_ofdm[3] = { IEEE80211_OFDM_RATE_24MB | IEEE80211_BASIC_RATE_MASK }; -static int cckrates_included(unsigned char *rate, int ratelen) +static bool cckrates_included(unsigned char *rate, int ratelen) { int i; @@ -68,7 +68,7 @@ static int cckrates_included(unsigned char *rate, int ratelen) return false; } -static int cckratesonly_included(unsigned char *rate, int ratelen) +static bool cckratesonly_included(unsigned char *rate, int ratelen) { int i; -- 2.28.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel