diff options
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index aceb95ef7274..99d4f0de77ca 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -534,7 +534,7 @@ static int rndis_join_ibss(struct wiphy *wiphy, struct net_device *dev, | |||
534 | 534 | ||
535 | static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev); | 535 | static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev); |
536 | 536 | ||
537 | static int rndis_set_channel(struct wiphy *wiphy, | 537 | static int rndis_set_channel(struct wiphy *wiphy, struct net_device *dev, |
538 | struct ieee80211_channel *chan, enum nl80211_channel_type channel_type); | 538 | struct ieee80211_channel *chan, enum nl80211_channel_type channel_type); |
539 | 539 | ||
540 | static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, | 540 | static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, |
@@ -2290,7 +2290,7 @@ static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev) | |||
2290 | return deauthenticate(usbdev); | 2290 | return deauthenticate(usbdev); |
2291 | } | 2291 | } |
2292 | 2292 | ||
2293 | static int rndis_set_channel(struct wiphy *wiphy, | 2293 | static int rndis_set_channel(struct wiphy *wiphy, struct net_device *netdev, |
2294 | struct ieee80211_channel *chan, enum nl80211_channel_type channel_type) | 2294 | struct ieee80211_channel *chan, enum nl80211_channel_type channel_type) |
2295 | { | 2295 | { |
2296 | struct rndis_wlan_private *priv = wiphy_priv(wiphy); | 2296 | struct rndis_wlan_private *priv = wiphy_priv(wiphy); |