ath9k_hw: Fix divide by zero cases in paprd.
commit5692d37af0e15b27c74bc151fa5b44db0853c99a
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Tue, 19 Oct 2010 14:31:41 +0000 (19 20:01 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:01 +0000 (9 13:32 -0800)
tree9340e552fb0cdcd32d2893e2be94f0a71d1cd243
parent5eecfe329b7a9755307b4acf78aafb2dd6e3b251
ath9k_hw: Fix divide by zero cases in paprd.

commit 2d3fca180710c6832de22c44155ce6a3a4953c6b upstream.

We are not handling all divide by zero cases in paprd.
Add additional checks for divide by zero cases in papard.

This patch has fixes intended for kernel 2.6.36.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/ar9003_paprd.c