iwlwifi: work around passive scan issue
authorJohannes Berg <johannes.berg@intel.com>
Fri, 30 Apr 2010 21:42:15 +0000 (14:42 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 30 Apr 2010 22:03:51 +0000 (15:03 -0700)
commit96ff56419504ac6a610ff1af42330e0423242e16
treef9f47566e06944cde52d5c7e2902d9a683656891
parent0250ececdf6813457c98719e2d33b3684881fde0
iwlwifi: work around passive scan issue

Some firmware versions don't behave properly when
passive scanning is requested on radar channels
without enabling active scanning on receiving a
good frame. Work around that issue by asking the
firmware to only enable the active scanning after
receiving a huge number of good frames, a number
that can never be reached during our dwell time.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl3945-base.c