1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-12-08 09:36:21 +01:00

remove warnings on 3.13

This commit is contained in:
Joe Acosta
2015-07-24 11:50:46 -07:00
parent fbd81d1816
commit 727dcb11f3

View File

@@ -3702,7 +3702,11 @@ static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev)
#endif //(LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0))
static int cfg80211_rtw_add_station(struct wiphy *wiphy, struct net_device *ndev,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)) && !defined(COMPAT_KERNEL_RELEASE)
u8 *mac, struct station_parameters *params)
#else
const u8 *mac, struct station_parameters *params)
#endif
{
DBG_871X(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev));
@@ -3710,7 +3714,11 @@ static int cfg80211_rtw_add_station(struct wiphy *wiphy, struct net_device *ndev
}
static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0)) && !defined(COMPAT_KERNEL_RELEASE)
u8 *mac)
#else
const u8 *mac)
#endif
{
int ret=0;
_irqL irqL;
@@ -3801,7 +3809,11 @@ static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev
}
static int cfg80211_rtw_change_station(struct wiphy *wiphy, struct net_device *ndev,
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)) && !defined(COMPAT_KERNEL_RELEASE)
u8 *mac, struct station_parameters *params)
#else
const u8 *mac, struct station_parameters *params)
#endif
{
DBG_871X(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev));