mirror of
https://github.com/gnab/rtl8812au
synced 2024-11-27 07:34:24 +00:00
Fix rtw_android.c to build on Linux >= 4.0-rc1
This commit is contained in:
parent
17d050d5d2
commit
83f539d74d
@ -30,6 +30,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif /* defined(RTW_ENABLE_WIFI_CONTROL_FUNC) */
|
#endif /* defined(RTW_ENABLE_WIFI_CONTROL_FUNC) */
|
||||||
|
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0))
|
||||||
|
#define strnicmp strncasecmp
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *android_wifi_cmd_str[ANDROID_WIFI_CMD_MAX] = {
|
const char *android_wifi_cmd_str[ANDROID_WIFI_CMD_MAX] = {
|
||||||
"START",
|
"START",
|
||||||
"STOP",
|
"STOP",
|
||||||
|
Loading…
Reference in New Issue
Block a user