Re: [PATCH] Staging: wlan-ng: parenthesis at end of line fix
From: Dan Carpenter
Date: Tue Sep 10 2019 - 07:44:28 EST
On Sat, Sep 07, 2019 at 10:57:20PM +0200, Sandro Volery wrote:
> Fixed open parenthesis at the end of the line on line 327.
>
> Signed-off-by: Sandro Volery <sandro@xxxxxxxxxx>
> ---
> drivers/staging/wlan-ng/cfg80211.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
> index eee1998c4b18..0a4c7415f773 100644
> --- a/drivers/staging/wlan-ng/cfg80211.c
> +++ b/drivers/staging/wlan-ng/cfg80211.c
> @@ -324,7 +324,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(
> + ieee80211_frequency_to_channel
> + (
> request->channels[i]->center_freq);
No, that looks even worse.
regards,
dan carpenter