Search Linux Wireless

Re: [PATCH] cfg80211: add get reg command

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

 



On Tue, 2009-01-27 at 18:52 -0800, Luis R. Rodriguez wrote:

> +	mutex_lock(&cfg80211_drv_mutex);
> +	regd = reg_get_current_rd();
> +	mutex_unlock(&cfg80211_drv_mutex);
> +
> +	if (!regd)
> +		goto out;

Any reason you need to copy and can't just build the whole thing under
lock?

johannes

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