]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: reset card during probe
authorReinette Chatre <reinette.chatre@intel.com>
Wed, 3 Feb 2010 17:38:59 +0000 (09:38 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Thu, 11 Feb 2010 18:26:55 +0000 (10:26 -0800)
commit9dbb28294c54e9770bc6bfa405b422128decb678
tree2a1ed65c58a8f582aef410acd2fc6c1fd1354ee2
parent9d3110f23f906d0305bb3b5d9f84d25b7108a9dd
iwlwifi: reset card during probe

To ensure that card is in a sane state during probe we add a reset call.
This change was prompted by users of kdump who was not able to bring up the
wireless driver in the kdump kernel. The problem here was that the primary
kernel, which is not running at the time, left the wireless card up and
running. When the kdump kernel starts it is thus possible to immediately
receive interrupts from firmware after registering interrupt, but without
being ready to deal with interrupts from firmware yet.

Reported-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c