]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87f97fb40e98cc0da4bfc87d4ca7890915e414cf
tree8dc5ab721c3f2028de4e2372436f76bb059a9fff
parentc7f710940041747c5ef57206156dab13791abef8
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