diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index f547ac66d05c..a0d44c679f55 100644 --- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c @@ -1118,7 +1118,7 @@ static int cfg80211_rtw_get_station(struct wiphy *wiphy, return ret; } -int cfg80211_infrastructure_mode(struct rtw_adapter *padapter, +static int cfg80211_infrastructure_mode(struct rtw_adapter *padapter, enum nl80211_iftype ifmode) { struct mlme_priv *pmlmepriv = &padapter->mlmepriv;