]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
libertas: fix command timeout after firmware failure
authorBrian Cavagnolo <brian@cozybit.com>
Tue, 13 May 2008 12:54:59 +0000 (13:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 May 2008 21:15:09 +0000 (17:15 -0400)
commit02969d296e91626d9942ea15f8a95fe056025ef1
treec05cc2b9fc7ff8f07a43e126847c354de3f34b0d
parent2f561feb386d6adefbad63c59a1fcd298ac6a79c
libertas: fix command timeout after firmware failure

This is a fix for OLPC ticket #6586: "SCAN command fails, timer doesn't
fire". In fact, the timer was firing; the problem was that the dnld_sent
state variable was not being updated after the timer expired, so
lbs_execute_next_command was not being called.

Signed-off-by: Brian Cavagnolo <brian@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c