Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz at gmail.com>
To: iwd at lists.01.org
Subject: Re: [PATCH 12/12] dpp: fix dpp_offchannel_start corner cases
Date: Thu, 20 Jan 2022 14:20:22 -0600	[thread overview]
Message-ID: <33106f30-3066-e970-73a2-981276c50c6c@gmail.com> (raw)
In-Reply-To: 20220118212512.2017977-12-prestwoj@gmail.com

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

Hi James,

On 1/18/22 15:25, James Prestwood wrote:
> The purpose of this was to have a single utility to both cancel an
> existing offchannel operation (if one exists) and start a new one.
> 
> The problem was the previous offchannel operation was being canceled
> first which opened up the radio work queue to other items. This is
> not desireable as, for example, a scan would end up breaking the
> DPP protocol most likely.
> 
> Starting the new offchannel then canceling is the correct order of
> operations but to do this required saving the new ID, canceling, then
> setting offchannel_id to the new ID so dpp_presence_timeout wouldn't
> overwrite the new ID to zero.
> 
> This also removes an explicit call to offchannel_cancel which is
> already done by dpp_offchannel_start.
> ---
>   src/dpp.c | 23 +++++++++++++++++++----
>   1 file changed, 19 insertions(+), 4 deletions(-)
> 

Applied, thanks.

Regards,
-Denis

             reply	other threads:[~2022-01-20 20:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 20:20 Denis Kenzior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-18 21:25 [PATCH 12/12] dpp: fix dpp_offchannel_start corner cases James Prestwood

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=33106f30-3066-e970-73a2-981276c50c6c@gmail.com \
    --to=iwd@lists.linux.dev \
    /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