]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: fix some failure cases in wlcore_probe()
authorLuciano Coelho <coelho@ti.com>
Mon, 25 Jun 2012 11:41:20 +0000 (14:41 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 26 Jun 2012 17:20:19 +0000 (20:20 +0300)
commit75a68ecaccb6d4d11266cd548785633a4a89a876
treedeec8379a29e298f2b56dd89253735edcc3410b5
parent3167e16dd4196ac61ad480e42acc7cea8396b929
wlcore: fix some failure cases in wlcore_probe()

We need to release the IRQ if hw_info() or identify_chip() fails.  And
we need unregister the HW with mac80211 if there are any failures
after it's registered.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c