1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-09 23:57:00 +00:00

Add a missing kernel version check on function call

This commit is contained in:
kimocoder 2019-04-06 08:33:45 +02:00
parent dade7cb03d
commit 9162548bfa

View File

@ -2128,6 +2128,9 @@ void rtw_mesh_expire_peer_notify(_adapter *adapter, const u8 *peer_addr)
, peer_addr
, null_ssid
, 2
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0))
, 0
#endif
, GFP_ATOMIC
);
#endif