diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-05-22 15:18:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-22 15:18:06 -0400 |
commit | a0d0d1685f9763ab26a394df3ab84026b39a06a7 (patch) | |
tree | 4165dc6fd3266977ab4b3fa3b379c47597f97d88 /drivers/net/wireless/rndis_wlan.c | |
parent | 31a67102f4762df5544bc2dfb34a931233d2a5b2 (diff) | |
parent | 05f8f25276ea8c7d41b3649890d6eaf179e67a81 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index b91d1bb30b41..f11953b26024 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -505,9 +505,6 @@ static int rndis_join_ibss(struct wiphy *wiphy, struct net_device *dev, | |||
505 | 505 | ||
506 | static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev); | 506 | static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev); |
507 | 507 | ||
508 | static int rndis_set_channel(struct wiphy *wiphy, struct net_device *dev, | ||
509 | struct ieee80211_channel *chan, enum nl80211_channel_type channel_type); | ||
510 | |||
511 | static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, | 508 | static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, |
512 | u8 key_index, bool pairwise, const u8 *mac_addr, | 509 | u8 key_index, bool pairwise, const u8 *mac_addr, |
513 | struct key_params *params); | 510 | struct key_params *params); |
@@ -549,7 +546,6 @@ static const struct cfg80211_ops rndis_config_ops = { | |||
549 | .disconnect = rndis_disconnect, | 546 | .disconnect = rndis_disconnect, |
550 | .join_ibss = rndis_join_ibss, | 547 | .join_ibss = rndis_join_ibss, |
551 | .leave_ibss = rndis_leave_ibss, | 548 | .leave_ibss = rndis_leave_ibss, |
552 | .set_channel = rndis_set_channel, | ||
553 | .add_key = rndis_add_key, | 549 | .add_key = rndis_add_key, |
554 | .del_key = rndis_del_key, | 550 | .del_key = rndis_del_key, |
555 | .set_default_key = rndis_set_default_key, | 551 | .set_default_key = rndis_set_default_key, |
@@ -2398,16 +2394,6 @@ static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev) | |||
2398 | return deauthenticate(usbdev); | 2394 | return deauthenticate(usbdev); |
2399 | } | 2395 | } |
2400 | 2396 | ||
2401 | static int rndis_set_channel(struct wiphy *wiphy, struct net_device *netdev, | ||
2402 | struct ieee80211_channel *chan, enum nl80211_channel_type channel_type) | ||
2403 | { | ||
2404 | struct rndis_wlan_private *priv = wiphy_priv(wiphy); | ||
2405 | struct usbnet *usbdev = priv->usbdev; | ||
2406 | |||
2407 | return set_channel(usbdev, | ||
2408 | ieee80211_frequency_to_channel(chan->center_freq)); | ||
2409 | } | ||
2410 | |||
2411 | static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, | 2397 | static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, |
2412 | u8 key_index, bool pairwise, const u8 *mac_addr, | 2398 | u8 key_index, bool pairwise, const u8 *mac_addr, |
2413 | struct key_params *params) | 2399 | struct key_params *params) |