From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Jouni Malinen <jouni@qca.qualcomm.com>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] athk6l: Fix channel list processing in scan requests
Date: Mon, 5 Sep 2011 12:05:53 +0300 [thread overview]
Message-ID: <4E6490F1.2020301@qca.qualcomm.com> (raw)
In-Reply-To: <20110902170706.GA16999@jouni.qca.qualcomm.com>
On 09/02/2011 08:07 PM, Jouni Malinen wrote:
> Limit the length of the channel list to WMI_MAX_CHANNELS to avoid
> rejection of the request in wmi.c. Since there is not really much
> point in using a specific list of more than 32 channels, drop the
> channel list if more channels are specified and scan all channels.
>
> Fix cfg80211 scan API use: ar->scan_req must be set only if returning
> success from scan() handler. The previous version would result in use
> of freed memory and likely kernel panic should the scan request fail
> to be sent to the target.
Thanks, applied.
Kalle
prev parent reply other threads:[~2011-09-05 9:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-02 17:07 [PATCH] athk6l: Fix channel list processing in scan requests Jouni Malinen
2011-09-05 9:05 ` Kalle Valo [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=4E6490F1.2020301@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=jouni@qca.qualcomm.com \
--cc=linux-wireless@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 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).