aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-rw-r--r--drivers/net/wireless/b43legacy/main.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index 1daa5aa0ba25..af75f41668c4 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2603,32 +2603,6 @@ out_unlock_mutex:
2603 return err; 2603 return err;
2604} 2604}
2605 2605
2606static int b43legacy_dev_set_key(struct ieee80211_hw *hw,
2607 enum set_key_cmd cmd,
2608 const u8 *local_addr, const u8 *addr,
2609 struct ieee80211_key_conf *key)
2610{
2611 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw);
2612 struct b43legacy_wldev *dev = wl->current_dev;
2613 unsigned long flags;
2614 int err = -EOPNOTSUPP;
2615 DECLARE_MAC_BUF(mac);
2616
2617 if (!dev)
2618 return -ENODEV;
2619 mutex_lock(&wl->mutex);
2620 spin_lock_irqsave(&wl->irq_lock, flags);
2621
2622 if (b43legacy_status(dev) < B43legacy_STAT_INITIALIZED) {
2623 err = -ENODEV;
2624 }
2625 spin_unlock_irqrestore(&wl->irq_lock, flags);
2626 mutex_unlock(&wl->mutex);
2627 b43legacydbg(wl, "Using software based encryption for "
2628 "mac: %s\n", print_mac(mac, addr));
2629 return err;
2630}
2631
2632static void b43legacy_configure_filter(struct ieee80211_hw *hw, 2606static void b43legacy_configure_filter(struct ieee80211_hw *hw,
2633 unsigned int changed, 2607 unsigned int changed,
2634 unsigned int *fflags, 2608 unsigned int *fflags,
@@ -3287,7 +3261,6 @@ static const struct ieee80211_ops b43legacy_hw_ops = {
3287 .remove_interface = b43legacy_remove_interface, 3261 .remove_interface = b43legacy_remove_interface,
3288 .config = b43legacy_dev_config, 3262 .config = b43legacy_dev_config,
3289 .config_interface = b43legacy_config_interface, 3263 .config_interface = b43legacy_config_interface,
3290 .set_key = b43legacy_dev_set_key,
3291 .configure_filter = b43legacy_configure_filter, 3264 .configure_filter = b43legacy_configure_filter,
3292 .get_stats = b43legacy_get_stats, 3265 .get_stats = b43legacy_get_stats,
3293 .get_tx_stats = b43legacy_get_tx_stats, 3266 .get_tx_stats = b43legacy_get_tx_stats,