summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-10-29 03:19:06 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-10-30 22:50:25 +0300
commite55ea2b152569f09ef6bb28d5a341a4e5a21f5ce (patch)
tree0fde7a0c4d221306506e0789f841452fadd8d30b /net
parent9a3f45116f5e08819136cd512fd7f6450ac22aa8 (diff)
downloadlinux-e55ea2b152569f09ef6bb28d5a341a4e5a21f5ce.tar.xz
ath9k: fix misplaced semicolon on rate control
The patch e43419f9: ath9k: downgrade assert in rc.c for invalid rate downgraded an ASSERT to a WARN_ON() but also misplaced a semicolon at the end of the second check. What this did was force the rate control code to always return the rate even if we should have warned about it. Since this should not have happened anymore anyway this fix isn't critical as the proper rate would have been returned anyway. Cc: stable@kernel.org Reported-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions