]> git.karo-electronics.de Git - linux-beck.git/commit
wimax/i2400m: Correct the error path handlers order in i2400m_post_reset()
authorCindy H Kao <cindy.h.kao@intel.com>
Thu, 8 Apr 2010 23:03:12 +0000 (16:03 -0700)
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Tue, 11 May 2010 21:05:47 +0000 (14:05 -0700)
commit2354161dd33b204d36caa0bc48c95cc6c1a984fb
tree7d1606bfef35ae72dfb823be860ed6b67e9c67ba
parent599e59538448ee49d5470f226bb191b2f78aa3a2
wimax/i2400m: Correct the error path handlers order in i2400m_post_reset()

When bus_setup fails in i2400m_post_reset(), it falls to the error path handler
"error_bus_setup:" which includes unlock the mutext. However, we didn't ever
try to the obtain the lock when running bus_setup.

The patch is to fix the misplaced error path handler "error_bus_setup:".

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