[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210824031551.GA80985@peggy-InsydeH2O-EFI-BIOS>
Date: Tue, 24 Aug 2021 04:15:51 +0100
From: Tawah Peggy <tawahpeggy98@...il.com>
To: Kroah-Hartman <greg@...ah.com>
Cc: outreachy-kernel@...glegroups.com, linux-kernel@...r.kernel.org
Subject: [PATCH] [Outreachy Kernel] Staging: wlan-ng: cfg80211: Fix Lines
should not end with a '('
This patch fixes the checkpatch.pl warning:
CHECK: Lines should not end with a '(' .
Signed-off-by: Tawah Peggy <tawahpeggy98@...il.com>
---
drivers/staging/wlan-ng/cfg80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 7951bd63816f..8d044e3fc2e8 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -328,8 +328,8 @@ static int prism2_scan(struct wiphy *wiphy,
(i < request->n_channels) && i < ARRAY_SIZE(prism2_channels);
i++)
msg1.channellist.data.data[i] =
- ieee80211_frequency_to_channel(
- request->channels[i]->center_freq);
+ ieee80211_frequency_to_channel
+ (request->channels[i]->center_freq);
msg1.channellist.data.len = request->n_channels;
msg1.maxchanneltime.data = 250;
--
2.25.1
Powered by blists - more mailing lists