linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Joerg Pommnitz <pommnitz@yahoo.com>
Cc: linux-wireless@vger.kernel.org, ath5k-devel@lists.ath5k.org
Subject: Re: [ath5k-devel] ath5k crash (NULL pointer access) when changing ANI
Date: Wed, 29 Jun 2011 12:07:32 -0400	[thread overview]
Message-ID: <4E0B4DC4.8050702@gnu.org> (raw)
In-Reply-To: <1309339683.73960.YahooMailRC@web161214.mail.bf1.yahoo.com>

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

      reply	other threads:[~2011-06-29 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29  9:28 ath5k crash (NULL pointer access) when changing ANI Joerg Pommnitz
2011-06-29 16:07 ` Pavel Roskin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E0B4DC4.8050702@gnu.org \
    --to=proski@gnu.org \
    --cc=ath5k-devel@lists.ath5k.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pommnitz@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).