mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
staging: r8188eu: mark cckrates_included as bool
Mark 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-9-makvihas@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
10b4f58f2e
commit
fb706ede58
|
|
@ -45,7 +45,7 @@ static u8 rtw_basic_rate_mix[7] = {
|
|||
IEEE80211_OFDM_RATE_24MB | IEEE80211_BASIC_RATE_MASK
|
||||
};
|
||||
|
||||
int cckrates_included(unsigned char *rate, int ratelen)
|
||||
bool cckrates_included(unsigned char *rate, int ratelen)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
|||
|
|
@ -632,7 +632,7 @@ void addba_timer_hdl(struct sta_info *psta);
|
|||
_set_timer(&(mlmeext)->link_timer, (ms)); \
|
||||
} while (0)
|
||||
|
||||
int cckrates_included(unsigned char *rate, int ratelen);
|
||||
bool cckrates_included(unsigned char *rate, int ratelen);
|
||||
int cckratesonly_included(unsigned char *rate, int ratelen);
|
||||
|
||||
void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user