mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 22:13:41 +00:00
rtl8188eu: Fix checkpatch errors in core/rtw_wlan_util.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9e855cb914
commit
7b59aa12db
2 changed files with 512 additions and 805 deletions
File diff suppressed because it is too large
Load diff
|
@ -337,12 +337,18 @@ enum {
|
||||||
MEM_STAT_RX_FREE
|
MEM_STAT_RX_FREE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern unsigned char MCS_rate_2R[16];
|
||||||
|
extern unsigned char MCS_rate_1R[16];
|
||||||
|
extern unsigned char RTW_WPA_OUI[];
|
||||||
|
extern unsigned char WPA_TKIP_CIPHER[4];
|
||||||
|
extern unsigned char RSN_TKIP_CIPHER[4];
|
||||||
|
|
||||||
#define rtw_update_mem_stat(flag, sz) do {} while (0)
|
#define rtw_update_mem_stat(flag, sz) do {} while (0)
|
||||||
extern u8* _rtw_vmalloc(u32 sz);
|
extern u8 *_rtw_vmalloc(u32 sz);
|
||||||
extern u8* _rtw_zvmalloc(u32 sz);
|
extern u8 *_rtw_zvmalloc(u32 sz);
|
||||||
extern void _rtw_vmfree(u8 *pbuf, u32 sz);
|
extern void _rtw_vmfree(u8 *pbuf, u32 sz);
|
||||||
extern u8* _rtw_zmalloc(u32 sz);
|
extern u8 *_rtw_zmalloc(u32 sz);
|
||||||
extern u8* _rtw_malloc(u32 sz);
|
extern u8 *_rtw_malloc(u32 sz);
|
||||||
extern void _rtw_mfree(u8 *pbuf, u32 sz);
|
extern void _rtw_mfree(u8 *pbuf, u32 sz);
|
||||||
#define rtw_vmalloc(sz) _rtw_vmalloc((sz))
|
#define rtw_vmalloc(sz) _rtw_vmalloc((sz))
|
||||||
#define rtw_zvmalloc(sz) _rtw_zvmalloc((sz))
|
#define rtw_zvmalloc(sz) _rtw_zvmalloc((sz))
|
||||||
|
@ -351,10 +357,10 @@ extern void _rtw_mfree(u8 *pbuf, u32 sz);
|
||||||
#define rtw_zmalloc(sz) _rtw_zmalloc((sz))
|
#define rtw_zmalloc(sz) _rtw_zmalloc((sz))
|
||||||
#define rtw_mfree(pbuf, sz) _rtw_mfree((pbuf), (sz))
|
#define rtw_mfree(pbuf, sz) _rtw_mfree((pbuf), (sz))
|
||||||
|
|
||||||
extern void* rtw_malloc2d(int h, int w, int size);
|
extern void *rtw_malloc2d(int h, int w, int size);
|
||||||
extern void rtw_mfree2d(void *pbuf, int h, int w, int size);
|
extern void rtw_mfree2d(void *pbuf, int h, int w, int size);
|
||||||
|
|
||||||
extern void _rtw_memcpy(void* dec, void* sour, u32 sz);
|
extern void _rtw_memcpy(void *dec, void *sour, u32 sz);
|
||||||
extern int _rtw_memcmp(void *dst, void *src, u32 sz);
|
extern int _rtw_memcmp(void *dst, void *src, u32 sz);
|
||||||
extern void _rtw_memset(void *pbuf, int c, u32 sz);
|
extern void _rtw_memset(void *pbuf, int c, u32 sz);
|
||||||
|
|
||||||
|
@ -388,7 +394,7 @@ extern void rtw_sleep_schedulable(int ms);
|
||||||
extern void rtw_msleep_os(int ms);
|
extern void rtw_msleep_os(int ms);
|
||||||
extern void rtw_usleep_os(int us);
|
extern void rtw_usleep_os(int us);
|
||||||
|
|
||||||
extern u32 rtw_atoi(u8* s);
|
extern u32 rtw_atoi(u8 *s);
|
||||||
|
|
||||||
extern void rtw_mdelay_os(int ms);
|
extern void rtw_mdelay_os(int ms);
|
||||||
extern void rtw_udelay_os(int us);
|
extern void rtw_udelay_os(int us);
|
||||||
|
|
Loading…
Reference in a new issue