linux/drivers/net/wireless/iwlwifi
Florian Mickler e7ee762cf0 iwl3945: queue the right work if the scan needs to be aborted
iwl3945's scan_completed calls into the mac80211 stack which triggers a
warn on if there is no scan outstanding.

This can be avoided by not calling scan_completed but abort_scan in
iwl3945_request_scan  in the done: branch of the function which is used
as an error out.

The done: branch seems to be an error-out branch, as, for example, if
iwl_is_ready(priv) returns false  the done: branch is executed.

NOTE:
I'm not familiar with the driver at all.
I just quickly scanned as a reaction to

https://bugzilla.kernel.org/show_bug.cgi?id=17722

the users of scan_completed in the  iwl3945 driver and noted the odd
discrepancy between the comment above this instance and the comment in
mac80211 scan_completed function.

Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-09-28 15:31:25 -04:00
..
Kconfig iwlagn: more generic description for iwlagn devices 2010-07-09 10:17:09 -07:00
Makefile
iwl-1000.c iwlwifi: long monitor timer 2010-08-14 08:26:32 -07:00
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c iwlwifi: long monitor timer 2010-08-14 08:26:32 -07:00
iwl-3945.h
iwl-4965-hw.h
iwl-4965.c iwlwifi: long monitor timer 2010-08-14 08:26:32 -07:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: use long monitor timer for 5300 series 2010-08-18 16:37:44 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: use long monitor timer to avoid un-necessary reload 2010-08-14 08:26:41 -07:00
iwl-agn-calib.c iwlagn: Add support for bluetooth statistics notification 2010-07-23 08:41:18 -07:00
iwl-agn-debugfs.c iwlagn: fix typo in ucode_bt_stats_read debugfs 2010-08-04 15:27:38 -04:00
iwl-agn-debugfs.h iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-agn-hcmd.c iwlagn: fix rts cts protection 2010-08-09 15:18:57 -04:00
iwl-agn-hw.h
iwl-agn-ict.c
iwl-agn-led.c
iwl-agn-led.h
iwl-agn-lib.c iwl3945: queue the right work if the scan needs to be aborted 2010-09-28 15:31:25 -04:00
iwl-agn-rs.c iwlagn: Improve aggregation failure error messages 2010-08-04 15:30:55 -04:00
iwl-agn-rs.h
iwl-agn-rx.c iwlagn: Add support for bluetooth statistics notification 2010-07-23 08:41:18 -07:00
iwl-agn-tx.c iwlagn: fix rts cts protection 2010-08-09 15:18:57 -04:00
iwl-agn-ucode.c
iwl-agn.c iwlwifi: fix 3945 filter flags 2010-08-17 14:38:14 -04:00
iwl-agn.h
iwl-calib.h iwlagn: Add support for bluetooth statistics notification 2010-07-23 08:41:18 -07:00
iwl-commands.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
iwl-core.c iwlwifi: do not perferm force reset while doing scan 2010-09-17 13:03:35 -07:00
iwl-core.h iwlwifi: fix 3945 filter flags 2010-08-17 14:38:14 -04:00
iwl-csr.h
iwl-debug.h iwlwifi: fix compile warning 2010-08-04 15:27:37 -04:00
iwl-debugfs.c iwlagn: add bluetooth stats to debugfs 2010-07-23 08:41:32 -07:00
iwl-dev.h iwlwifi: long monitor timer 2010-08-14 08:26:32 -07:00
iwl-devtrace.c
iwl-devtrace.h iwlwifi: fix TX tracer 2010-08-06 13:53:58 -04:00
iwl-eeprom.c
iwl-eeprom.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-next-2.6 2010-07-27 11:59:19 -04:00
iwl-fh.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c
iwl-scan.c iwlwifi: fix locking assertions 2010-08-06 13:53:58 -04:00
iwl-spectrum.h
iwl-sta.c iwlwifi: fix locking assertions 2010-08-06 13:53:58 -04:00
iwl-sta.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-07-13 15:31:51 -04:00
iwl-tx.c
iwl3945-base.c iwl3945: queue the right work if the scan needs to be aborted 2010-09-28 15:31:25 -04:00