linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Assertion failed in ieee80211softmac_wx_get_rate
@ 2007-03-02  6:26 Pavel Roskin
  2007-03-02 13:57 ` John W. Linville
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Roskin @ 2007-03-02  6:26 UTC (permalink / raw)
  To: linux-wireless; +Cc: bcm43xx-dev

Hello!

If I load bcm43xx and run iwconfig without bringing the interface up,
I'm getting this in the kernel log:

SoftMAC: ASSERTION FAILED (0)
at: /home/proski/src/linux-2.6/net/ieee80211/softmac/ieee80211softmac_wx.c:306:ieee80211softmac_wx_get_rate()

It's an x86 system with the 2.6.20 kernel (actually, it's the master
branch from the mb repository, which is wireless-dev before the 2.6.21
switchover plus broadcom fixes).

The assert assures that the interface has a valid tx rate.  But since
the interface has never been up, the rate has not been assigned.

Either softmac should tolerate rate 0, at least when the interface is
down, or it should initialize the rate much earlier, perhaps in
alloc_ieee80211softmac().

I can test another tree, e.g. wireless-2.6, if there are chances that
the problem has been fixed.

-- 
Regards,
Pavel Roskin


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-02 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02  6:26 Assertion failed in ieee80211softmac_wx_get_rate Pavel Roskin
2007-03-02 13:57 ` John W. Linville
2007-03-02 16:28   ` Pavel Roskin
2007-03-02 17:23   ` Larry Finger

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).