Re: Kernel panic in ieee80211_calculate_rx_timestamp
From: Thomas Lindroth <hidden>
Date: 2013-10-11 10:11:40
From: Thomas Lindroth <hidden>
Date: 2013-10-11 10:11:40
On 09/30/2013 04:27 PM, Johannes Berg wrote:
On Thu, 2013-09-19 at 20:01 +0200, Thomas Lindroth wrote:quoted
I recently got a ath9k_htc based dongle and running kismet for a few hours results in a kernel panic (divide error) in ieee80211_calculate_rx_timestamp with kernel 3.11.0. The problem seems to occur when the call to cfg80211_calculate_bitrate returns 0. I've used this patch to temporarily works around the problem.Seems fair, but maybe it should print out the rate info so you can see what was actually received - most likely this is a driver bug though. If you submit a patch that can be applied with signed-off-by etc. I can apply it.
Sorry for the late reply. My first post was mostly meant as a bug report. I don't have the insight needed for a proper fix but that patch should point a developer in the right direction. /Thomas Lindroth