brcmfmac: fix bug causing errorneous free on exception.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 13 Sep 2012 19:12:04 +0000 (21:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Sep 2012 18:59:09 +0000 (14:59 -0400)
commit9cd23a7191f1abc32252ba92494a910d5cc5fd02
tree9685c6ee43d3d1016d4491fc492dc04c17daeff7
parent4531603a7acb1463ec0b466dcfedc6682e7a1718
brcmfmac: fix bug causing errorneous free on exception.

This patch fixes bug where driver frees resources twice when
an exception occurs.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c