rtl8188eu: Fix build warning for kernels 3.16-3.18

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-02-15 12:07:44 -06:00
parent d2b7e5be2d
commit 1305b2dc4b

View file

@ -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)