wimax/i2400m: when bootstrap fails, reinitialize the bootrom
authorCindy H Kao <cindy.h.kao@intel.com>
Wed, 10 Jun 2009 23:52:10 +0000 (16:52 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 11 Jun 2009 10:30:26 +0000 (03:30 -0700)
commit8b5b30ee7ddc989b59ce05dcf2d024a819dc8040
tree49b564e60706973bfeac592cb00c76f3c0ce102c
parent16820c166d3ad5973d388b5aa70ee7e535386657
wimax/i2400m: when bootstrap fails, reinitialize the bootrom

When a device reset happens during firmware load [in
i2400m_dev_bootstrap()], __i2400m_dev_start() will retry a number of
times. However, for those retries to be able to accomplish anything,
the device's bootrom has to be reinitialized.

Thus, on the retry path, pass the I2400M_MAC_REINIT to the firmware
load code.

Signed-off-by: Cindy H Kao <cindy.h.kao@intel.com>
drivers/net/wimax/i2400m/driver.c