Skip to content

Commit

Permalink
rtlwifi: Fix typo in pci.c
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Larry Finger authored and John W. Linville committed May 2, 2011
1 parent 1c0bcf8 commit 982d96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rtlwifi/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit 982d96b

Please sign in to comment.