All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krishna Chaitanya <chaitanya.mgit@gmail.com>
To: andrea merello <andrea.merello@gmail.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	John Linville <linville@tuxdriver.com>,
	Larry Finger <Larry.Finger@lwfinger.net>
Subject: Re: [PATCH] mac80211: add check on hw->max_signal value on ieee80211_register_hw
Date: Wed, 22 Jan 2014 00:32:42 +0530	[thread overview]
Message-ID: <CABPxzYKykToRsDanUpUdcE7xvsiPZ2E-fMG7B=Xn9JkuXGAHGQ@mail.gmail.com> (raw)
In-Reply-To: <1390166509-3992-1-git-send-email-andrea.merello@gmail.com>

On Mon, Jan 20, 2014 at 2:51 AM, andrea merello
<andrea.merello@gmail.com> wrote:
>
> +       if (hw->flags &
> IEEE80211_HW_SIGNAL_UNSPEC && hw->max_signal <= 0)
> +               return -EINVAL;
> +

Should we add a check for > 100 as well, similar to cfg?

      parent reply	other threads:[~2014-01-21 19:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-19 21:21 [PATCH] mac80211: add check on hw->max_signal value on ieee80211_register_hw andrea merello
2014-01-20 10:25 ` Johannes Berg
2014-01-21 19:02 ` Krishna Chaitanya [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='CABPxzYKykToRsDanUpUdcE7xvsiPZ2E-fMG7B=Xn9JkuXGAHGQ@mail.gmail.com' \
    --to=chaitanya.mgit@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=andrea.merello@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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 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.