diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-05-02 05:30:54 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-02 20:49:19 +0200 |
commit | 982d96bbb7f084644ee10214812ab167e52c2c5d (patch) | |
tree | 91336592e64818609d13b6894659b278226e9466 | |
parent | rt2x00: Add autowake support for USB hardware (diff) | |
download | linux-982d96bbb7f084644ee10214812ab167e52c2c5d.tar.xz linux-982d96bbb7f084644ee10214812ab167e52c2c5d.zip |
rtlwifi: Fix typo in pci.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rtlwifi/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index 367d9b4ebd20..3550c9fb96e5 100644 --- 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 + 11) % entries) * + ((i + 1) % entries) * sizeof(*ring); rtlpriv->cfg->ops->set_desc((u8 *)&(ring[i]), |