All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kimdon <david.kimdon@devicescape.com>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: netdev@vger.kernel.org
Subject: d80211: RFC: divide by zero when hw->maxssi not set
Date: Fri, 17 Nov 2006 15:51:09 -0800	[thread overview]
Message-ID: <20061117235109.GA11885@devicescape.com> (raw)

Hi,

commit 448bf25bc9e3d70a211fdf235426472089371c43 added
ieee80211_get_wireless_stats in net/d80211/ieee80211_ioctl.c.  At
present we get a divide by zero (oops) if the low level driver does
not set the new hw->maxssi field.  Perhaps:

- reject registration of devices which do not set maxssi
- do not attempt to report link quality for drivers which do not 
  set maxssi
- other ideas? 

-David

             reply	other threads:[~2006-11-17 23:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 23:51 David Kimdon [this message]
2006-11-17 23:59 ` d80211: RFC: divide by zero when hw->maxssi not set Michael Wu
2006-11-19 23:55 ` Dan Williams
2006-11-20 12:45   ` Ingo Oeser

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=20061117235109.GA11885@devicescape.com \
    --to=david.kimdon@devicescape.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.