|
@@ -123,7 +123,6 @@ static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac,
|
|
|
{
|
|
|
struct rt2x00_dev *rt2x00dev = data;
|
|
|
struct rt2x00_intf *intf = vif_to_intf(vif);
|
|
|
- struct ieee80211_bss_conf conf;
|
|
|
int delayed_flags;
|
|
|
|
|
|
/*
|
|
@@ -133,7 +132,6 @@ static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac,
|
|
|
*/
|
|
|
spin_lock(&intf->lock);
|
|
|
|
|
|
- memcpy(&conf, &vif->bss_conf, sizeof(conf));
|
|
|
delayed_flags = intf->delayed_flags;
|
|
|
intf->delayed_flags = 0;
|
|
|
|
|
@@ -150,12 +148,6 @@ static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac,
|
|
|
|
|
|
if (delayed_flags & DELAYED_UPDATE_BEACON)
|
|
|
rt2x00queue_update_beacon(rt2x00dev, vif, true);
|
|
|
-
|
|
|
- if (delayed_flags & DELAYED_CONFIG_ERP)
|
|
|
- rt2x00lib_config_erp(rt2x00dev, intf, &conf);
|
|
|
-
|
|
|
- if (delayed_flags & DELAYED_LED_ASSOC)
|
|
|
- rt2x00leds_led_assoc(rt2x00dev, !!rt2x00dev->intf_associated);
|
|
|
}
|
|
|
|
|
|
static void rt2x00lib_intf_scheduled(struct work_struct *work)
|