diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-30 12:54:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-30 12:54:15 -0700 |
commit | 6c9ae016a8e2aff931391d3baa9ce6cb0ffa633c (patch) | |
tree | 38a179b61e66b8b511b2b72da1f4486ee89b9821 /drivers/net/wireless/p54 | |
parent | 0c75ba22541ccea88e89782373991109a7ec2a54 (diff) | |
parent | 0250ececdf6813457c98719e2d33b3684881fde0 (diff) | |
download | op-kernel-dev-6c9ae016a8e2aff931391d3baa9ce6cb0ffa633c.zip op-kernel-dev-6c9ae016a8e2aff931391d3baa9ce6cb0ffa633c.tar.gz |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/p54')
-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 269fda3..c24067f 100644 --- a/drivers/net/wireless/p54/p54pci.c +++ b/drivers/net/wireless/p54/p54pci.c @@ -246,7 +246,7 @@ static void p54p_check_tx_ring(struct ieee80211_hw *dev, u32 *index, u32 idx, i; i = (*index) % ring_limit; - (*index) = idx = le32_to_cpu(ring_control->device_idx[1]); + (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); idx %= ring_limit; while (i != idx) { |