]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: reset card during probe
authorReinette Chatre <reinette.chatre@intel.com>
Wed, 3 Feb 2010 17:38:59 +0000 (09:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:16:06 +0000 (11:16 -0700)
commit5bd90999347524d2b525d011a68b70837a922879
treecc62306d7395ee3824fedf582250eadd677f95a2
parent5ff290f1c541bb4d4c8df68b31378d6e031eeba1
iwlwifi: reset card during probe

commit 4843b5a731b31916d100cfc5ba4d03ae78462ed9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c