Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193661
b: refs/heads/master
c: 49d7f6d
h: refs/heads/master
i:
  193659: 2d960bb
v: v3
  • Loading branch information
Teemu Paasikivi authored and John W. Linville committed Mar 9, 2010
1 parent de179bd commit ec425bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 09a9c2b3f464e757b6597f621cc3bedb6f040a27
refs/heads/master: 49d7f6d8113a04abacdf99525db9c17d872c1efa
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ static int __devinit wl1271_probe(struct sdio_func *func,
goto out_irq;

sdio_claim_host(func);
sdio_set_drvdata(func, wl);

ret = sdio_enable_func(func);
if (ret)
goto out_release;
Expand Down Expand Up @@ -246,10 +248,11 @@ static void __devexit wl1271_remove(struct sdio_func *func)
{
struct wl1271 *wl = sdio_get_drvdata(func);

ieee80211_unregister_hw(wl->hw);

sdio_claim_host(func);
sdio_disable_func(func);
sdio_release_host(func);
ieee80211_unregister_hw(wl->hw);

free_irq(wl->irq, wl);

Expand Down

0 comments on commit ec425bf

Please sign in to comment.