Search Linux Wireless

Re: [PATCH 1/1] mac80211: set assoc flag to bss_conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

> ---
>  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: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux