Skip to content

Commit 85c2ba1

Browse files
Fix coding style
1 parent 5446ccc commit 85c2ba1

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

vwifi.c

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,27 +2303,24 @@ static struct cfg80211_ops vwifi_cfg_ops = {
23032303
};
23042304

23052305
/* Macro for defining 2GHZ channel array */
2306-
#define CHAN_2GHZ(channel, freq) \
2307-
{ \
2308-
.band = NL80211_BAND_2GHZ, \
2309-
.hw_value = (channel), \
2310-
.center_freq = (freq), \
2306+
#define CHAN_2GHZ(channel, freq) \
2307+
{ \
2308+
.band = NL80211_BAND_2GHZ, .hw_value = (channel), \
2309+
.center_freq = (freq), \
23112310
}
23122311

23132312
/* Macro for defining 5GHZ channel array */
2314-
#define CHAN_5GHZ(channel) \
2315-
{ \
2316-
.band = NL80211_BAND_5GHZ, \
2317-
.hw_value = (channel), \
2318-
.center_freq = 5000 + (5 * (channel)), \
2313+
#define CHAN_5GHZ(channel) \
2314+
{ \
2315+
.band = NL80211_BAND_5GHZ, .hw_value = (channel), \
2316+
.center_freq = 5000 + (5 * (channel)), \
23192317
}
23202318

23212319

23222320
/* Macro for defining rate table */
2323-
#define RATE_ENT(_rate, _hw_value) \
2324-
{ \
2325-
.bitrate = (_rate), \
2326-
.hw_value = (_hw_value), \
2321+
#define RATE_ENT(_rate, _hw_value) \
2322+
{ \
2323+
.bitrate = (_rate), .hw_value = (_hw_value), \
23272324
}
23282325

23292326
/* Array of "supported" channels in 2GHz band. It is required for wiphy. */

0 commit comments

Comments
 (0)