Files
linux/drivers/net
Stanislaw Gruszka ffd61d6720 iwlwifi: fix scan abort
commit d28232b461 upstream.

Fix possible double priv->mutex lock introduced by commit
a69b03e941
"iwlwifi: cancel scan watchdog in iwl_bg_abort_scan" .
We can not call cancel_delayed_work_sync(&priv->scan_check) with
priv->mutex locked because workqueue function iwl_bg_scan_check()
take that lock internally.

We do not need to synchronize when canceling priv->scan_check work.
We can avoid races (sending double abort command or send no
command at all) using STATUS_SCAN_ABORT bit. Moreover
current iwl_bg_scan_check() code seems to be broken, as
we should not send abort commands when currently aborting.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 10:20:41 -07:00
..
2010-02-09 04:50:59 -08:00
2010-08-02 10:21:27 -07:00
2010-07-05 11:10:26 -07:00
2010-01-28 15:01:48 -08:00
2010-05-12 14:57:05 -07:00
2010-08-10 10:20:41 -07:00
2009-09-30 20:11:11 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-09-01 01:13:50 -07:00
2009-08-12 23:03:00 -07:00
2009-08-12 22:53:28 -07:00
2009-08-12 23:03:01 -07:00
2009-08-12 23:03:01 -07:00
2009-11-06 20:26:09 -08:00
2009-08-15 18:50:44 -07:00
2010-08-02 10:21:25 -07:00
2009-10-24 06:53:07 -07:00
2009-09-23 07:39:43 -07:00
2009-10-11 11:20:58 -07:00
2009-10-20 18:51:37 -07:00
2009-09-07 01:56:52 -07:00
2009-10-02 09:55:19 -07:00
2009-07-06 13:05:13 -07:00
2009-11-20 13:53:33 -08:00
2009-10-20 19:11:06 -07:00
2009-11-23 14:18:53 -08:00
2009-09-21 15:14:58 +02:00
2009-07-16 09:14:23 -07:00
2009-10-26 16:23:20 -07:00
2010-07-05 11:11:15 -07:00
2009-11-15 21:14:59 -08:00
2009-04-29 17:32:34 -07:00
2009-08-02 12:20:40 -07:00
2009-10-26 17:19:44 -07:00
2009-10-01 15:14:54 -07:00
2010-08-02 10:20:44 -07:00
2009-10-01 15:14:55 -07:00
2009-11-29 23:47:14 -08:00
2010-05-12 14:57:13 -07:00
2010-04-01 15:58:05 -07:00
2009-11-19 13:16:22 -08:00