]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
staging: ks7010: fix line exceding 80 characters in ks_wlan_get_range
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 24 Apr 2018 13:49:59 +0000 (15:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:50:19 +0000 (15:50 +0200)
Avoid very long if condition just changing its style. This makes
checkpatch script not complains about this line.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c

index ccec25ed155a7380d07994ef5ba3afccff0ee7ff..3f631d9a45ba07e05094b5640abd88009b59b28c 100644 (file)
@@ -933,7 +933,8 @@ static int ks_wlan_get_range(struct net_device *dev,
                range->freq[k++].e = 1; /* Values in table in MHz -> * 10^5 * 10 */
        }
        range->num_frequency = k;
-       if (priv->reg.phy_type == D_11B_ONLY_MODE || priv->reg.phy_type == D_11BG_COMPATIBLE_MODE) {    /* channel 14 */
+       if (priv->reg.phy_type == D_11B_ONLY_MODE ||
+           priv->reg.phy_type == D_11BG_COMPATIBLE_MODE) {     /* channel 14 */
                range->freq[13].i = 14; /* List index */
                range->freq[13].m = frequency_list[13] * 100000;
                range->freq[13].e = 1;  /* Values in table in MHz -> * 10^5 * 10 */