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)
commit8b425e62d96a3b3a3cc68e6203267f92d1a01946
treedeec8379a29e298f2b56dd89253735edcc3410b5
parente59bec1628654b6dcbad4e64d43c41c1f31d216c
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