Re: [ath5k-devel] ath5k crash (NULL pointer access) when changing ANI
From: Pavel Roskin <hidden>
Date: 2011-06-29 16:07:33
From: Pavel Roskin <hidden>
Date: 2011-06-29 16:07:33
On 06/29/2011 05:28 AM, Joerg Pommnitz wrote:
Hello all, ath5k will immediately crash when issuing the following command: echo 2> /sys/class/ieee80211/phy0/device/ani/ani_mode The crash log looks like this: [ 66.425365] BUG: unable to handle kernel NULL pointer dereference at 00000100 [ 66.425652] IP: [<e08e3008>] ath5k_ani_init+0xe/0x399 [ath5k]
It looks like we have a major bug in the ath5k sysfs code! drvdata is set to hw as it should, but the sysfs code assumes it's set to sc. I'm testing a patch now. -- Regards, Pavel Roskin