Re: [ath9k-devel] [PATCH] ath9k: Prevent divide by zero kernel crash.

2014-04-22 Thread Ben Greear
On 04/22/2014 10:53 AM, John W. Linville wrote: Please consider Felix's comments while refactoring this for the current code structure... I'm low on time, but will resend a patch when I get a chance. If someone else wants to send in the updated patch that is fine by me. Thanks, Ben John

Re: [ath9k-devel] [PATCH] ath9k: Prevent divide by zero kernel crash.

2014-04-22 Thread John W. Linville
Please consider Felix's comments while refactoring this for the current code structure... John On Thu, Apr 17, 2014 at 09:47:26AM +0200, Felix Fietkau wrote: On 2014-04-17 02:40, gree...@candelatech.com wrote: From: Ben Greear gree...@candelatech.com Make sure we cannot ever assign

Re: [ath9k-devel] [PATCH] ath9k: Prevent divide by zero kernel crash.

2014-04-17 Thread Felix Fietkau
On 2014-04-17 02:40, gree...@candelatech.com wrote: From: Ben Greear gree...@candelatech.com Make sure we cannot ever assign beacon interval to zero. Signed-off-by: Ben Greear gree...@candelatech.com --- drivers/net/wireless/ath/ath9k/beacon.c | 4

[ath9k-devel] [PATCH] ath9k: Prevent divide by zero kernel crash.

2014-04-16 Thread greearb
From: Ben Greear gree...@candelatech.com Make sure we cannot ever assign beacon interval to zero. Signed-off-by: Ben Greear gree...@candelatech.com --- drivers/net/wireless/ath/ath9k/beacon.c | 4 drivers/net/wireless/ath/ath9k/recv.c | 3 ++- 2 files changed, 6 insertions(+), 1