Search Linux Wireless

Re: [PATCH] mac80211: Remove bss information of the current AP when it goes out of range

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

 



On Mon, Feb 02, 2009 at 07:34:14PM +0530, Vasanth Thiagarajan wrote:
> +               if (remove_bss) {
> +                       struct ieee80211_bss *bss;
> +
> +                       bss = ieee80211_rx_bss_get(local, ifsta->bssid,
> +                                       local->hw.conf.channel->center_freq,
> +                                       ifsta->ssid, ifsta->ssid_len);
> +                       if (bss)
> +                               atomic_dec(&bss->users);
> +                       ieee80211_rx_bss_put(local, bss);

oops, I missed braces here.

> 
> 
> --
> 1.5.5.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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