提交 982d96bb 编写于 作者: L Larry Finger 提交者: John W. Linville

rtlwifi: Fix typo in pci.c

Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 1c0bcf89
......@@ -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]),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册