Fix rtw_android.c to build on Linux >= 4.0-rc1

This commit is contained in:
James Forcier 2015-03-05 08:54:07 -05:00
parent 17d050d5d2
commit 83f539d74d

View File

@ -30,6 +30,10 @@
#endif
#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] = {
"START",
"STOP",