Search Linux Wireless

Re: [PATCH v3] rt2x00: rt2800lib: remove duplicate rf_vals for RF3053

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

 



2013.10.12. 17:27 keltezéssel, Kevin Lo írta:
> We already have rf_vals_3x with same values.  Hence rf_vals_3053 is removed
> in this patch.
> 
> Signed-off-by: Kevin Lo <kevlo@xxxxxxxxx>
> Acked-by: Paul Menzel <paulepanter@xxxxxxxxxxxxxxxxxxxxx>
> Acked-by: Stanislaw Gruszka <stf_xl@xxxxx>
> ---
> Changes since v1:
>   - update comment of rf_vals_3x to indicate that it also supports RF3053
>   - add Paul's Acked-by tag
> ---
> Changes since v2:
>  - the previous patch was malformed
>  - add Stanislaw's Acked-by tag
> ---
> 
> diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c

<...>

>  	struct hw_mode_spec *spec = &rt2x00dev->spec;
> @@ -7599,14 +7533,11 @@ static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
>  		   rt2x00_rf(rt2x00dev, RF5392)) {
>  		spec->num_channels = 14;
>  		spec->channels = rf_vals_3x;
> -	} else if (rt2x00_rf(rt2x00dev, RF3052)) {
> +	} else if (rt2x00_rf(rt2x00dev, RF3052) ||
> +		   rt2x00_rf(rt2x00dev, RF3053)) { 

checpatch.pl says this:

ERROR: trailing whitespace
#127: FILE: drivers/net/wireless/rt2x00/rt2800lib.c:7537:
+^I^I   rt2x00_rf(rt2x00dev, RF3053)) { $

total: 1 errors, 0 warnings, 96 lines checked

Otherwise the patch is ok.

-Gabor
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux