|
@@ -424,13 +424,6 @@ static void ieee80211_send_nullfunc(struct ieee80211_local *local,
|
|
ieee80211_tx_skb(sdata, skb, 0);
|
|
ieee80211_tx_skb(sdata, skb, 0);
|
|
}
|
|
}
|
|
|
|
|
|
-static void ieee80211_restart_sta_timer(struct ieee80211_sub_if_data *sdata)
|
|
|
|
-{
|
|
|
|
- if (sdata->vif.type == IEEE80211_IF_TYPE_STA ||
|
|
|
|
- ieee80211_vif_is_mesh(&sdata->vif))
|
|
|
|
- ieee80211_sta_timer((unsigned long)sdata);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void ieee80211_scan_completed(struct ieee80211_hw *hw)
|
|
void ieee80211_scan_completed(struct ieee80211_hw *hw)
|
|
{
|
|
{
|
|
struct ieee80211_local *local = hw_to_local(hw);
|
|
struct ieee80211_local *local = hw_to_local(hw);
|
|
@@ -446,11 +439,6 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw)
|
|
if (ieee80211_hw_config(local))
|
|
if (ieee80211_hw_config(local))
|
|
printk(KERN_DEBUG "%s: failed to restore operational "
|
|
printk(KERN_DEBUG "%s: failed to restore operational "
|
|
"channel after scan\n", wiphy_name(local->hw.wiphy));
|
|
"channel after scan\n", wiphy_name(local->hw.wiphy));
|
|
- /* Restart STA timer for HW scan case */
|
|
|
|
- rcu_read_lock();
|
|
|
|
- list_for_each_entry_rcu(sdata, &local->interfaces, list)
|
|
|
|
- ieee80211_restart_sta_timer(sdata);
|
|
|
|
- rcu_read_unlock();
|
|
|
|
|
|
|
|
goto done;
|
|
goto done;
|
|
}
|
|
}
|
|
@@ -483,8 +471,6 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw)
|
|
}
|
|
}
|
|
} else
|
|
} else
|
|
netif_tx_wake_all_queues(sdata->dev);
|
|
netif_tx_wake_all_queues(sdata->dev);
|
|
-
|
|
|
|
- ieee80211_restart_sta_timer(sdata);
|
|
|
|
}
|
|
}
|
|
rcu_read_unlock();
|
|
rcu_read_unlock();
|
|
|
|
|