diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/p54/p54pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c index ed4bdffdd63e..21f673d8565f 100644 --- a/drivers/net/wireless/p54/p54pci.c +++ b/drivers/net/wireless/p54/p54pci.c | |||
@@ -245,7 +245,7 @@ static void p54p_check_tx_ring(struct ieee80211_hw *dev, u32 *index, | |||
245 | u32 idx, i; | 245 | u32 idx, i; |
246 | 246 | ||
247 | i = (*index) % ring_limit; | 247 | i = (*index) % ring_limit; |
248 | (*index) = idx = le32_to_cpu(ring_control->device_idx[1]); | 248 | (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); |
249 | idx %= ring_limit; | 249 | idx %= ring_limit; |
250 | 250 | ||
251 | while (i != idx) { | 251 | while (i != idx) { |