aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-05-01 23:30:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-02 14:49:19 -0400
commit982d96bbb7f084644ee10214812ab167e52c2c5d (patch)
tree91336592e64818609d13b6894659b278226e9466
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>
-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,
1069 1069
1070 for (i = 0; i < entries; i++) { 1070 for (i = 0; i < entries; i++) {
1071 nextdescaddress = (u32) dma + 1071 nextdescaddress = (u32) dma +
1072 ((i + 11) % entries) * 1072 ((i + 1) % entries) *
1073 sizeof(*ring); 1073 sizeof(*ring);
1074 1074
1075 rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]), 1075 rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]),