]> 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)
commitea68ba30ee4ce4ede5aaef7447d3318e66e6d332
treedeec8379a29e298f2b56dd89253735edcc3410b5
parente9320c125fa21e793498c87b4c1abafe46e71c3d
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