* [PATCH 1/1] mac80211: set assoc flag to bss_conf
@ 2008-01-27 14:18 Tomas Winkler
2008-01-29 16:14 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Winkler @ 2008-01-27 14:18 UTC (permalink / raw)
To: linville, johannes; +Cc: linux-wireless, Tomas Winkler
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.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
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);
}
--
1.5.2.2
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] mac80211: set assoc flag to bss_conf
2008-01-27 14:18 [PATCH 1/1] mac80211: set assoc flag to bss_conf Tomas Winkler
@ 2008-01-29 16:14 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-01-29 16:14 UTC (permalink / raw)
To: Tomas Winkler; +Cc: linville, linux-wireless
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-29 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox