diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-15 03:34:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-15 03:34:44 -0400 |
commit | 63fe46da9c380b3f2bbdf3765044649517cc717c (patch) | |
tree | 9478c1aca1d692b408955aea20c9cd9a37e589c0 /drivers/net/wireless/rt2x00/rt2x00dev.c | |
parent | 99dd1a2b8347ac2ae802300b7862f6f7bcf17139 (diff) | |
parent | 066b2118976e6e7cc50eed39e2747c75343a23c4 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/iwlwifi/iwl-4965-rs.c
drivers/net/wireless/rt2x00/rt61pci.c
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 9929b15e28ba..61510c519351 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -1028,8 +1028,10 @@ static int rt2x00lib_initialize(struct rt2x00_dev *rt2x00dev) | |||
1028 | * Initialize the device. | 1028 | * Initialize the device. |
1029 | */ | 1029 | */ |
1030 | status = rt2x00dev->ops->lib->initialize(rt2x00dev); | 1030 | status = rt2x00dev->ops->lib->initialize(rt2x00dev); |
1031 | if (status) | 1031 | if (status) { |
1032 | goto exit; | 1032 | rt2x00queue_uninitialize(rt2x00dev); |
1033 | return status; | ||
1034 | } | ||
1033 | 1035 | ||
1034 | __set_bit(DEVICE_INITIALIZED, &rt2x00dev->flags); | 1036 | __set_bit(DEVICE_INITIALIZED, &rt2x00dev->flags); |
1035 | 1037 | ||
@@ -1039,11 +1041,6 @@ static int rt2x00lib_initialize(struct rt2x00_dev *rt2x00dev) | |||
1039 | rt2x00rfkill_register(rt2x00dev); | 1041 | rt2x00rfkill_register(rt2x00dev); |
1040 | 1042 | ||
1041 | return 0; | 1043 | return 0; |
1042 | |||
1043 | exit: | ||
1044 | rt2x00lib_uninitialize(rt2x00dev); | ||
1045 | |||
1046 | return status; | ||
1047 | } | 1044 | } |
1048 | 1045 | ||
1049 | int rt2x00lib_start(struct rt2x00_dev *rt2x00dev) | 1046 | int rt2x00lib_start(struct rt2x00_dev *rt2x00dev) |