Commit 982d96bb authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtlwifi: Fix typo in pci.c

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1c0bcf89
...@@ -1069,7 +1069,7 @@ static int _rtl_pci_init_tx_ring(struct ieee80211_hw *hw, ...@@ -1069,7 +1069,7 @@ static int _rtl_pci_init_tx_ring(struct ieee80211_hw *hw,
for (i = 0; i < entries; i++) { for (i = 0; i < entries; i++) {
nextdescaddress = (u32) dma + nextdescaddress = (u32) dma +
((i + 11) % entries) * ((i + 1) % entries) *
sizeof(*ring); sizeof(*ring);
rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]), rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment