aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_pathtbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/mesh_pathtbl.c')
-rw-r--r--net/mac80211/mesh_pathtbl.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c
index f0304bfdcdff..04b9e4d61b8e 100644
--- a/net/mac80211/mesh_pathtbl.c
+++ b/net/mac80211/mesh_pathtbl.c
@@ -499,11 +499,9 @@ enddel:
499 */ 499 */
500void mesh_path_tx_pending(struct mesh_path *mpath) 500void mesh_path_tx_pending(struct mesh_path *mpath)
501{ 501{
502 struct sk_buff *skb; 502 if (mpath->flags & MESH_PATH_ACTIVE)
503 503 ieee80211_add_pending_skbs(mpath->sdata->local,
504 while ((skb = skb_dequeue(&mpath->frame_queue)) && 504 &mpath->frame_queue);
505 (mpath->flags & MESH_PATH_ACTIVE))
506 dev_queue_xmit(skb);
507} 505}
508 506
509/** 507/**