iwlwifi: Limit number of firmware reload
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 9 Feb 2011 17:37:46 +0000 (09:37 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 21 Feb 2011 18:08:15 +0000 (10:08 -0800)
If device has serious problem and cause firmware can not recover itself.
Keep reloading firmware will not help, it can only fill up the syslog and
lock up the system because busy reloading.

Introduce the limit reload counter, if the reload reach the maximum within
the pre-defined duration;stop the reload operation.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>

No differences found