aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2015-02-03 11:15:18 -0600
committerKalle Valo <kvalo@codeaurora.org>2015-02-06 08:36:08 +0200
commit6d4beca3775222884e1ee9d48ef586c438c3dfa1 (patch)
tree6c5fec1f68d1b68b9bc02c8ae4e0d77c8065a345 /drivers/net/wireless/ath/ath9k/hw.h
parentrtlwifi: rtl8192ee: Fix handling of new style descriptors (diff)
downloadlinux-dev-6d4beca3775222884e1ee9d48ef586c438c3dfa1.tar.xz
linux-dev-6d4beca3775222884e1ee9d48ef586c438c3dfa1.zip
rtlwifi: rtl8192ee: Fix problems with calculating free space in FIFO
This driver utilizes a FIFO buffer for RX descriptors. There are four places in the code where it calculates the number of free slots. Several of those locations do the calculation incorrectly. To fix these and to prevent future mistakes, a common inline routine is created. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> [V3.18] Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
0 files changed, 0 insertions, 0 deletions