mirror of https://gitee.com/openkylin/linux.git
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:
parent
1c0bcf89d8
commit
982d96bbb7
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue