iwlwifi: pcie: try to get ownership several times

commit 501fd9895c upstream.

Some races with the hardware can happen when we take
ownership of the device. Don't give up after the first try.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Emmanuel Grumbach 2014-05-08 12:15:22 +03:00 • committed by Greg Kroah-Hartman
commit 6dfca3b803