Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314905
b: refs/heads/master
c: 8b425e6
h: refs/heads/master
i:
  314903: 39565c9
v: v3
  • Loading branch information
Luciano Coelho committed Jun 26, 2012
1 parent 33a33f7 commit 188d17f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: e59bec1628654b6dcbad4e64d43c41c1f31d216c
refs/heads/master: 8b425e62d96a3b3a3cc68e6203267f92d1a01946
9 changes: 6 additions & 3 deletions trunk/drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5520,12 +5520,12 @@ int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev)
ret = wl12xx_get_hw_info(wl);
if (ret < 0) {
wl1271_error("couldn't get hw info");
goto out;
goto out_irq;
}

ret = wl->ops->identify_chip(wl);
if (ret < 0)
goto out;
goto out_irq;

ret = wl1271_init_ieee80211(wl);
if (ret)
Expand All @@ -5539,7 +5539,7 @@ int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev)
ret = device_create_file(wl->dev, &dev_attr_bt_coex_state);
if (ret < 0) {
wl1271_error("failed to create sysfs file bt_coex_state");
goto out_irq;
goto out_unreg;
}

/* Create sysfs file to get HW PG version */
Expand All @@ -5564,6 +5564,9 @@ int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev)
out_bt_coex_state:
device_remove_file(wl->dev, &dev_attr_bt_coex_state);

out_unreg:
wl1271_unregister_hw(wl);

out_irq:
free_irq(wl->irq, wl);

Expand Down

0 comments on commit 188d17f

Please sign in to comment.