iwlwifi: pcie: extend device reset delay
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Apr 2016 08:24:59 +0000 (10:24 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:34:07 +0000 (22:34 +0300)
commitb7a08b284dcf7fb3d7b99473a87fabad04b2c548
tree947e01312ed774e92e3c6d03f75e19a0ce104691
parentfbbd48595f2689619bab6957c6c2ee2895005b51
iwlwifi: pcie: extend device reset delay

Newer hardware generations will take longer to be accessible again
after reset, so we need to wait longer before continuing any flow
that did a reset.

Rather than make the wait time configurable, simply extend it for
all.

Since all of these code paths can sleep, use usleep_range() rather
than mdelay().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c