Commit 2a603c8f authored by Vihas Makwana's avatar Vihas Makwana Committed by Greg Kroah-Hartman

staging: r8188eu: mark cckratesonly_included as bool

Mark cckratesonly_included as bool as it returns true/false.
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220302204737.49056-10-makvihas@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb706ede
...@@ -57,7 +57,7 @@ bool cckrates_included(unsigned char *rate, int ratelen) ...@@ -57,7 +57,7 @@ bool cckrates_included(unsigned char *rate, int ratelen)
return false; return false;
} }
int cckratesonly_included(unsigned char *rate, int ratelen) bool cckratesonly_included(unsigned char *rate, int ratelen)
{ {
int i; int i;
......
...@@ -633,7 +633,7 @@ void addba_timer_hdl(struct sta_info *psta); ...@@ -633,7 +633,7 @@ void addba_timer_hdl(struct sta_info *psta);
} while (0) } while (0)
bool cckrates_included(unsigned char *rate, int ratelen); 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); void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment