diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-12 16:08:01 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-15 15:48:44 -0400 |
commit | e49f913750bb8745085cc4c547912c330cd3eacb (patch) | |
tree | 989230a1b47ada33ad2c0e8407456e2ec354f667 /arch/ia64/mm | |
parent | 898c914a0871ea7e5557b77156d4358c0f15d98a (diff) |
ath9k_hw: fix division by zero in the ANI monitor code
The commit "ath9k_hw: remove code duplication in phy error counter handling"
split off some duplicate code into a separate function, but did not have a
return code for aborting ANI processing based on counter values.
This introduced a divide by zero issue.
This patch adds the missing return code check in ath9k_hw_ani_monitor
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/ia64/mm')
0 files changed, 0 insertions, 0 deletions