From: Jes Sorensen Date: Tue, 24 Jun 2014 13:03:40 +0000 (+0200) Subject: staging: rtl8723au: rtw_cfg80211_set_encryption(): Pass additional struct key_params X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9e346fb88d6daeef37c21a3c55ebd70f1501fd2;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8723au: rtw_cfg80211_set_encryption(): Pass additional struct key_params Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index c0b0cb19c617..7c3a58f89a6a 100644 --- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c @@ -802,7 +802,8 @@ exit: #endif static int rtw_cfg80211_set_encryption(struct net_device *dev, - struct ieee_param *param, u32 param_len) + struct ieee_param *param, u32 param_len, + struct key_params *keyparms) { int ret = 0; u32 wep_key_idx; @@ -1067,7 +1068,8 @@ static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, } if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { - ret = rtw_cfg80211_set_encryption(ndev, param, param_len); + ret = rtw_cfg80211_set_encryption(ndev, param, param_len, + params); } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { #ifdef CONFIG_8723AU_AP_MODE if (mac_addr)