rtlwifi: Fix typo in pci.c

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Larry Finger 2011-05-01 22:30:54 -05:00 committed by John W. Linville
parent 1c0bcf89d8
commit 982d96bbb7
1 changed files with 1 additions and 1 deletions

View 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]),