qlge: Fix out of sync hardware semaphore.
commitfd21cf52df990aea2c2403c35129b6501206422d
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 29 Sep 2009 08:39:22 +0000 (29 08:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Oct 2009 03:03:07 +0000 (30 20:03 -0700)
tree2bf99bfe851b8bce42c7c15dee694038b8944924
parentfbcbe56cf4c6e880c1902cc066168f79ec5c2b27
qlge: Fix out of sync hardware semaphore.

ql_clear_routing_entries() takes/gives it's own hardware semaphore since
it is called from more than one place.  ql_route_initialize() should
make this call and THEN take it's own semaphore before doing it's work.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c