aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index e0348cc22d16..b6676c6722fc 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -186,7 +186,6 @@ static void rt2x00lib_intf_scheduled(struct work_struct *work)
186static void rt2x00lib_beacondone_iter(void *data, u8 *mac, 186static void rt2x00lib_beacondone_iter(void *data, u8 *mac,
187 struct ieee80211_vif *vif) 187 struct ieee80211_vif *vif)
188{ 188{
189 struct rt2x00_dev *rt2x00dev = data;
190 struct rt2x00_intf *intf = vif_to_intf(vif); 189 struct rt2x00_intf *intf = vif_to_intf(vif);
191 190
192 if (vif->type != NL80211_IFTYPE_AP && 191 if (vif->type != NL80211_IFTYPE_AP &&
@@ -195,12 +194,6 @@ static void rt2x00lib_beacondone_iter(void *data, u8 *mac,
195 vif->type != NL80211_IFTYPE_WDS) 194 vif->type != NL80211_IFTYPE_WDS)
196 return; 195 return;
197 196
198 /*
199 * Clean up the beacon skb.
200 */
201 rt2x00queue_free_skb(rt2x00dev, intf->beacon->skb);
202 intf->beacon->skb = NULL;
203
204 spin_lock(&intf->lock); 197 spin_lock(&intf->lock);
205 intf->delayed_flags |= DELAYED_UPDATE_BEACON; 198 intf->delayed_flags |= DELAYED_UPDATE_BEACON;
206 spin_unlock(&intf->lock); 199 spin_unlock(&intf->lock);