Search Linux Wireless

Re: [PATCH 2/3] mac80211: remove useless brackets in ieee80211_cfg_on_oper_channel

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

 



On Thu, 2011-11-03 at 10:40 +0100, Stanislaw Gruszka wrote:
> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>

Reviewed-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

> ---
>  net/mac80211/main.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/mac80211/main.c b/net/mac80211/main.c
> index 7710b10..cd87fd9 100644
> --- a/net/mac80211/main.c
> +++ b/net/mac80211/main.c
> @@ -126,8 +126,8 @@ bool ieee80211_cfg_on_oper_channel(struct ieee80211_local *local)
>  		return false;
>  
>  	/* Check current hardware-config against oper_channel. */
> -	if ((local->oper_channel != local->hw.conf.channel) ||
> -	    (local->_oper_channel_type != local->hw.conf.channel_type))
> +	if (local->oper_channel != local->hw.conf.channel ||
> +	    local->_oper_channel_type != local->hw.conf.channel_type)
>  		return false;
>  
>  	return true;


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