wimax/i2400m: if a device reboot happens during probe, handle it
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 3 Jun 2009 01:45:55 +0000 (09:45 +0800)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 11 Jun 2009 10:30:23 +0000 (03:30 -0700)
commitb4013f91cdda10f3f15530914f3c7f39738b0b50
tree8dc5ab721c3f2028de4e2372436f76bb059a9fff
parent59063afa0afabc68d2b6ca0d106da9165e1c7d39
wimax/i2400m: if a device reboot happens during probe, handle it

When a device reboot happens when we are under probe, with init_mutex
taken, make sure we can recover. Have dev_reset_handle set boot mode
and i2400m_msg_to_dev() will see it and fail gracefully instead of
timing out.

Found and diagnosed by Cindy H. Kao.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/control.c
drivers/net/wimax/i2400m/driver.c
drivers/net/wimax/i2400m/fw.c