staging: r8188eu: mark cckratesonly_included as bool

Mark cckratesonly_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-10-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vihas Makwana 2022-03-03 02:17:30 +05:30 committed by Greg Kroah-Hartman
parent fb706ede58
commit 2a603c8fac
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ bool cckrates_included(unsigned char *rate, int ratelen)
return false;
}
int cckratesonly_included(unsigned char *rate, int ratelen)
bool cckratesonly_included(unsigned char *rate, int ratelen)
{
int i;

View file

@ -633,7 +633,7 @@ void addba_timer_hdl(struct sta_info *psta);
} while (0)
bool cckrates_included(unsigned char *rate, int ratelen);
int cckratesonly_included(unsigned char *rate, int ratelen);
bool cckratesonly_included(unsigned char *rate, int ratelen);
void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr);