diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-01-06 17:41:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:27 -0500 |
commit | 837e7f247a8ed3f5577462655f8099a81b360422 (patch) | |
tree | abf59b6ac3a0c27ad80dc282e9465c30eeb9fb55 /drivers/net/wireless/rt2x00/rt73usb.c | |
parent | 7e56d38d5d0bda89228821902af297a46b5fdb80 (diff) |
rt2x00: Move init_txring and init_rxring into rt2x00lib
Prior to enabling the radio rt2x00lib should go through all
rings and for each entry should call the callback function
init_txentry() and init_rxentry().
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index beaa264f6af7..78217dcb4638 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1136,8 +1136,6 @@ static int rt73usb_enable_radio(struct rt2x00_dev *rt2x00dev) | |||
1136 | return -EIO; | 1136 | return -EIO; |
1137 | } | 1137 | } |
1138 | 1138 | ||
1139 | rt2x00usb_enable_radio(rt2x00dev); | ||
1140 | |||
1141 | /* | 1139 | /* |
1142 | * Enable LED | 1140 | * Enable LED |
1143 | */ | 1141 | */ |
@@ -2033,6 +2031,8 @@ static const struct rt2x00lib_ops rt73usb_rt2x00_ops = { | |||
2033 | .load_firmware = rt73usb_load_firmware, | 2031 | .load_firmware = rt73usb_load_firmware, |
2034 | .initialize = rt2x00usb_initialize, | 2032 | .initialize = rt2x00usb_initialize, |
2035 | .uninitialize = rt2x00usb_uninitialize, | 2033 | .uninitialize = rt2x00usb_uninitialize, |
2034 | .init_rxentry = rt2x00usb_init_rxentry, | ||
2035 | .init_txentry = rt2x00usb_init_txentry, | ||
2036 | .set_device_state = rt73usb_set_device_state, | 2036 | .set_device_state = rt73usb_set_device_state, |
2037 | .link_stats = rt73usb_link_stats, | 2037 | .link_stats = rt73usb_link_stats, |
2038 | .reset_tuner = rt73usb_reset_tuner, | 2038 | .reset_tuner = rt73usb_reset_tuner, |