rt2x00: Fix rt2800lib RF chip programming selection.
Quoted 5 lines · On Monday 09 November 2009 22:59:58 Gertjan van Wingerde wrote:
Mirror the legacy Ralink driver with respect to rt2800 RF register programming. Execute
rt2800_config_channel_rt3xfor all RF2020, RF3020, RF3021 & RF3022 chipsets when operating on RT3070 devices.Signed-off-by Gertjan van Wingerde <[email protected]>
checkpatch.pl complains about:
ERROR: trailing whitespace
#27: FILE: drivers/net/wireless/rt2x00/rt2800lib.c:809:
+^Iif (rt2x00_rt(&rt2x00dev->chip, RT3070) &&^I$
ERROR: code indent should use tabs where possible #28: FILE: drivers/net/wireless/rt2x00/rt2800lib.c:810:
+ (rt2x00_rf(&rt2x00dev->chip, RF2020) ||$
I fixed those while applying patch to rt2800 tree..
[ This was fixed later in "[PATCH v2] rt2x00: Initialize rf302x RF values
properly for rt2800pci." but we want all patches to be checkpatch.pl clean as otherwise it is confusing for people doing automated checking ]