Skip to content

Commit

Permalink
wireless: b43: fix error path in SDIO
Browse files Browse the repository at this point in the history
Fix unbalanced call to sdio_release_host() on the error path.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Guennadi Liakhovetski authored and John W. Linville committed Nov 23, 2010
1 parent b397492 commit e476a5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/b43/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ static int b43_sdio_probe(struct sdio_func *func,
err_free_ssb:
kfree(sdio);
err_disable_func:
sdio_claim_host(func);
sdio_disable_func(func);
err_release_host:
sdio_release_host(func);
Expand Down

0 comments on commit e476a5a

Please sign in to comment.