Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e83cfca1 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: fix line exceding 80 characters in ks_wlan_get_range



Avoid very long if condition just changing its style. This makes
checkpatch script not complains about this line.

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ca946972
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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->freq[k++].e = 1;	/* Values in table in MHz -> * 10^5 * 10 */
	}
	}
	range->num_frequency = k;
	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].i = 14;	/* List index */
		range->freq[13].m = frequency_list[13] * 100000;
		range->freq[13].m = frequency_list[13] * 100000;
		range->freq[13].e = 1;	/* Values in table in MHz -> * 10^5 * 10 */
		range->freq[13].e = 1;	/* Values in table in MHz -> * 10^5 * 10 */