Skip to contentSkip to conversation

Staging: wlan-ng: parenthesis at end of line fix

PATCH In review Sandro Volery 2 participants 2 messages Sep 7, 2019 – Sep 10, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: wlan-ng: parenthesis at end of line fix

Fixed open parenthesis at the end of the line on line 327.

---
 drivers/staging/wlan-ng/cfg80211.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/wlan-ng/cfg80211.c +2 -1
index eee1998c4b18..0a4c7415f773 100644
@@ -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);
 	msg1.channellist.data.len = request->n_channels;
 
Signature · 1 line
2.23.0
#1 lore raw
Quoted 12 lines · Sandro Volery

Fixed open parenthesis at the end of the line on line 327.

---
 drivers/staging/wlan-ng/cfg80211.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/wlan-ng/cfg80211.c +0 -0
index eee1998c4b18..0a4c7415f773 100644

drivers/staging/wlan-ng/cfg80211.c static int prism2_scan(struct wiphy *wiphy, · line 329

Quoted 7 lines
drivers/staging/wlan-ng/cfg80211.c +2 -1
@@ -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