Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Tomas Winkler <tomas.winkler@intel.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/1] mac80211: set assoc flag to bss_conf
Date: Tue, 29 Jan 2008 17:14:45 +0100	[thread overview]
Message-ID: <1201623285.4394.37.camel@johannes.berg> (raw)
In-Reply-To: <12014435022755-git-send-email-tomas.winkler@intel.com> (sfid-20080127_141938_114099_DB9B65D9)

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


On Sun, 2008-01-27 at 16:18 +0200, Tomas Winkler wrote:
> Only BSS_CHANGED_ASSOC was set in the 'changed' bitmask. Assignment  to
> bss_conf.assoc was absent.
> This patch assign value to  bss_conf.assoc according the association state.

Yup, looks like I missed that, thanks.

> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>

Acked-by: Johannes Berg <johannes@sipsolutions.net>

> ---
>  net/mac80211/ieee80211_sta.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
> index d252d09..2c4692b 100644
> --- a/net/mac80211/ieee80211_sta.c
> +++ b/net/mac80211/ieee80211_sta.c
> @@ -492,6 +492,7 @@ static void ieee80211_set_associated(struct net_device *dev,
>  	ifsta->last_probe = jiffies;
>  	ieee80211_led_assoc(local, assoc);
>  
> +	sdata->bss_conf.assoc = assoc;
>  	ieee80211_bss_info_change_notify(sdata, changed);
>  }
>  

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

      reply	other threads:[~2008-01-29 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27 14:18 [PATCH 1/1] mac80211: set assoc flag to bss_conf Tomas Winkler
2008-01-29 16:14 ` Johannes Berg [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=1201623285.4394.37.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=tomas.winkler@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox