提交 d381f221 编写于 作者: B Ben Greear 提交者: John W. Linville

ath5k: Fix lockup due to un-init spinlock.

This was introduced in 2.6.39-rc1 it seems.
Signed-off-by: NBen Greear <greearb@candelatech.com>
Tested-by: NSedat Dilek <sedat.dilek@googlemail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 9b76b1e4
......@@ -2394,7 +2394,7 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops)
spin_lock_init(&sc->rxbuflock);
spin_lock_init(&sc->txbuflock);
spin_lock_init(&sc->block);
spin_lock_init(&sc->irqlock);
/* Setup interrupt handler */
ret = request_irq(sc->irq, ath5k_intr, IRQF_SHARED, "ath", sc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册