iwlwifi: pcie: try to get ownership several times
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 8 May 2014 09:15:22 +0000 (12:15 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 11 May 2014 10:07:12 +0000 (13:07 +0300)
commit501fd9895c1d7d8161ed56698ae2fccb10ef14f5
tree06740c4acc5b9f3f70e8d7820103b6830231825e
parente02a9d606d4f034038c49d8037ee057c26bc39d1
iwlwifi: pcie: try to get ownership several times

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

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