]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: reset the NIC before the bring up
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 24 Jul 2013 07:19:06 +0000 (10:19 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jul 2013 08:05:25 +0000 (10:05 +0200)
commit656d6e58960c11914ef5e4761da16ae08f46ea90
tree748626df6f60b5f013cbc01b3b119b153129d9a5
parent32f0f7d6bddcf0952f9d2ed650a906dab4196da4
iwlwifi: pcie: reset the NIC before the bring up

This allows to clean all kinds of bad state it might be in.
This solves situation where HW RFkill was switched while
the NIC was offline.
Until now, we relied on the firmware to do clean the
interrupt, but new firmwares don't do that any more.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c