summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/pci.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-05-01 22:30:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-05-02 14:49:19 -0400
commit982d96bbb7f084644ee10214812ab167e52c2c5d (patch)
tree91336592e64818609d13b6894659b278226e9466 /drivers/net/wireless/rtlwifi/pci.c
parent1c0bcf89d85cc97a0d9ce4cd909351a81fa4fdde (diff)
rtlwifi: Fix typo in pci.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/pci.c')
-rw-r--r--drivers/net/wireless/rtlwifi/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c
index 367d9b4ebd20..3550c9fb96e5 100644
--- a/drivers/net/wireless/rtlwifi/pci.c
+++ b/drivers/net/wireless/rtlwifi/pci.c
@@ -1069,7 +1069,7 @@ static int _rtl_pci_init_tx_ring(struct ieee80211_hw *hw,
for (i = 0; i < entries; i++) {
nextdescaddress = (u32) dma +
- ((i + 11) % entries) *
+ ((i + 1) % entries) *
sizeof(*ring);
rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]),