]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: Fix unresolved mesh frames queued without valid control.vif
authorJavier Cardona <javier@cozybit.com>
Tue, 11 Aug 2009 00:29:29 +0000 (17:29 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:03 +0000 (09:14 -0400)
commitcca89496a8afe4ad12ce1e468e60cef1e27e4eee
tree5dc3fc6541e2afaf66b500a922844d37dad89826
parent1fe90b033e04d7402b3deb392420fe2ff57986a5
mac80211: Fix unresolved mesh frames queued without valid control.vif

Mesh frames that could not be immediately resolved were queued with a NULL
info->control.vif.  This patch moves the call to mesh_nexthop_lookup closer to
the point where it is handed over to ieee80211_tx().  This ensures that the
unresolved frames are ready to be sent once the path is resolved.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c