projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0bcf8
)
rtlwifi: Fix typo in pci.c
author
Larry Finger
<Larry.Finger@lwfinger.net>
Mon, 2 May 2011 03:30:54 +0000
(22:30 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 2 May 2011 18:49:19 +0000
(14:49 -0400)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rtlwifi/pci.c
b/drivers/net/wireless/rtlwifi/pci.c
index 367d9b4ebd20fcabc591075df00dbb37f8722148..3550c9fb96e5ff9fb58012c5942677a84a85bb31 100644
(file)
--- a/
drivers/net/wireless/rtlwifi/pci.c
+++ b/
drivers/net/wireless/rtlwifi/pci.c
@@
-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 + 1
1
) % entries) *
+ ((i + 1) % entries) *
sizeof(*ring);
rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]),