Skip to content
Permalink
Browse files
Staging:wlan-ng:cfg80211: A better fix for: Lines should end with a '('
<greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Bcc:
Subject: [PATCH v2] Staging: wlan-ng: cfg80211: A better fix for: Lines should
 not end with a '('.
Reply-To:

This patch fixes the checkpatch error : lines should not end with a '('
by reducing length of function name to enable the arguments be passed on a single line.

Signed-off-by: Tawah Peggy <tawahpeggy98@gmail.com>
  • Loading branch information
tawahpeggy authored and intel-lab-lkp committed Sep 13, 2021
1 parent 8757f70 commit d94af532d09e347e4e331da138f658a49199354f
Showing 1 changed file with 1 addition and 2 deletions.
@@ -328,8 +328,7 @@ 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_freq_to_channel(request->channels[i]->center_freq);
msg1.channellist.data.len = request->n_channels;

msg1.maxchanneltime.data = 250;

0 comments on commit d94af53

Please sign in to comment.