]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: initialize RC data for all mesh links upon allocation
authorChristian Lamparter <chunkeey@web.de>
Sat, 27 Dec 2008 21:19:49 +0000 (22:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:57 +0000 (14:24 -0500)
commitb973c31a925c6753d84a100673f6b25546ec8b34
treeffbb803485b4aa3cc9b78a3b599ce826e5fa3765
parent71ef99c8b79ab07e1c79794085481464f9870d62
mac80211: initialize RC data for all mesh links upon allocation

This patch fixes a panic that might occur, if the device is part of a mesh
and tries to send with a higher rate index than "0".

kernel BUG at net/mac80211/rate.c:239!
invalid opcode: 0000 [#1] SMP
[...]
 Call Trace:
 <IRQ> <0> ? invoke_tx_handlers+0x474/0xb57 [mac80211]
 ? __ieee80211_tx_prepare+0x260/0x2a8 [mac80211]
 ? ieee80211_master_start_xmit+0x300/0x43a [mac80211]
 ? __qdisc_run+0xde/0x1da
 ? net_tx_action+0xb4/0x102
 Kernel panic - not syncing: Fatal exception in interrupt

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_plink.c