diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/cfg.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/cfg.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cfg.c b/drivers/net/wireless/libertas/cfg.c index 82ebe1461a77..ea9d0b2ea0d7 100644 --- a/drivers/net/wireless/libertas/cfg.c +++ b/drivers/net/wireless/libertas/cfg.c | |||
@@ -78,6 +78,7 @@ static const u32 cipher_suites[] = { | |||
78 | 78 | ||
79 | 79 | ||
80 | static int lbs_cfg_set_channel(struct wiphy *wiphy, | 80 | static int lbs_cfg_set_channel(struct wiphy *wiphy, |
81 | struct net_device *netdev, | ||
81 | struct ieee80211_channel *chan, | 82 | struct ieee80211_channel *chan, |
82 | enum nl80211_channel_type channel_type) | 83 | enum nl80211_channel_type channel_type) |
83 | { | 84 | { |
diff --git a/drivers/net/wireless/orinoco/cfg.c b/drivers/net/wireless/orinoco/cfg.c index 81d228de9e5d..8c4169c227ae 100644 --- a/drivers/net/wireless/orinoco/cfg.c +++ b/drivers/net/wireless/orinoco/cfg.c | |||
@@ -159,6 +159,7 @@ static int orinoco_scan(struct wiphy *wiphy, struct net_device *dev, | |||
159 | } | 159 | } |
160 | 160 | ||
161 | static int orinoco_set_channel(struct wiphy *wiphy, | 161 | static int orinoco_set_channel(struct wiphy *wiphy, |
162 | struct net_device *netdev, | ||
162 | struct ieee80211_channel *chan, | 163 | struct ieee80211_channel *chan, |
163 | enum nl80211_channel_type channel_type) | 164 | enum nl80211_channel_type channel_type) |
164 | { | 165 | { |
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); |