mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 12:33:40 +00:00
rtl8188eu: Fix build warning for kernels 3.16-3.18
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
d2b7e5be2d
commit
1305b2dc4b
1 changed files with 4 additions and 1 deletions
|
@ -3929,9 +3929,12 @@ static int cfg80211_rtw_add_station(struct wiphy *wiphy, struct net_device *ndev
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0))
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0))
|
||||
static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev,
|
||||
u8 *mac)
|
||||
#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,19, 0))
|
||||
static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev,
|
||||
const u8 *mac)
|
||||
#else
|
||||
static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev,
|
||||
struct station_del_parameters *params)
|
||||
|
|
Loading…
Reference in a new issue