rtlwifi: Fix typo in pci.c
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 2 May 2011 03:30:54 +0000 (22:30 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 May 2011 18:49:19 +0000 (14:49 -0400)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c

index 367d9b4ebd20fcabc591075df00dbb37f8722148..3550c9fb96e5ff9fb58012c5942677a84a85bb31 100644 (file)
@@ -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]),