aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/adm8211.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/adm8211.c')
-rw-r--r--drivers/net/wireless/adm8211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/adm8211.c b/drivers/net/wireless/adm8211.c
index 6e18c9d36787..9a1e0c514c08 100644
--- a/drivers/net/wireless/adm8211.c
+++ b/drivers/net/wireless/adm8211.c
@@ -1314,9 +1314,10 @@ static int adm8211_set_ssid(struct ieee80211_hw *dev, u8 *ssid, size_t ssid_len)
1314 return 0; 1314 return 0;
1315} 1315}
1316 1316
1317static int adm8211_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf) 1317static int adm8211_config(struct ieee80211_hw *dev, u32 changed)
1318{ 1318{
1319 struct adm8211_priv *priv = dev->priv; 1319 struct adm8211_priv *priv = dev->priv;
1320 struct ieee80211_conf *conf = &dev->conf;
1320 int channel = ieee80211_frequency_to_channel(conf->channel->center_freq); 1321 int channel = ieee80211_frequency_to_channel(conf->channel->center_freq);
1321 1322
1322 if (channel != priv->channel) { 1323 if (channel != priv->channel) {