iwlwifi: support truly passive scanning
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 20 Apr 2009 21:36:57 +0000 (14:36 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:18 +0000 (16:57 -0400)
commitb097ad29752f909ec1121ac3dc57d348f08dd8d7
tree4b5e4b302771c74a8771199112c54f4e6b3144bc
parent1ecf9fc1317f8df91eb1d74360f408558d657478
iwlwifi: support truly passive scanning

If passive scanning is requested we should not ask the
microcode to do active scanning after detecting traffic
on a channel -- that should only be used when an active
scan is requested but some channels are marked passive.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl3945-base.c