Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96548
b: refs/heads/master
c: ed49998
h: refs/heads/master
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed May 13, 2008
1 parent a8350fe commit 18ef713
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: 78720897459a0ed3843c80e9bd9ef1b2f7ae5c8f
refs/heads/master: ed499983b88d138848ec9e4d104fd86a5ef0c183
11 changes: 4 additions & 7 deletions trunk/drivers/net/wireless/rt2x00/rt2x00dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,10 @@ static int rt2x00lib_initialize(struct rt2x00_dev *rt2x00dev)
* Initialize the device.
*/
status = rt2x00dev->ops->lib->initialize(rt2x00dev);
if (status)
goto exit;
if (status) {
rt2x00queue_uninitialize(rt2x00dev);
return status;
}

__set_bit(DEVICE_INITIALIZED, &rt2x00dev->flags);

Expand All @@ -1043,11 +1045,6 @@ static int rt2x00lib_initialize(struct rt2x00_dev *rt2x00dev)
rt2x00rfkill_register(rt2x00dev);

return 0;

exit:
rt2x00lib_uninitialize(rt2x00dev);

return status;
}

int rt2x00lib_start(struct rt2x00_dev *rt2x00dev)
Expand Down

0 comments on commit 18ef713

Please sign in to comment.