Skip to content

Commit 956a18d

Browse files
Fix the coding style
1 parent 8db9e76 commit 956a18d

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

vwifi.c

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,26 +2229,24 @@ static struct cfg80211_ops vwifi_cfg_ops = {
22292229
};
22302230

22312231
/* Macro for defining 2GHZ channel array */
2232-
#define CHAN_2GHZ(channel, freq) \
2233-
{ \
2234-
.band = NL80211_BAND_2GHZ, \
2235-
.hw_value = (channel), \
2236-
.center_freq = (freq), \
2232+
#define CHAN_2GHZ(channel, freq) \
2233+
{ \
2234+
.band = NL80211_BAND_2GHZ, .hw_value = (channel), \
2235+
.center_freq = (freq), \
22372236
}
22382237

2239-
/* Macro for defining 5GHZ channel array */
2240-
#define CHAN_5GHZ(channel) \
2241-
{ \
2242-
.band = NL80211_BAND_5GHZ, \
2243-
.hw_value = (channel), \
2244-
.center_freq = 5000 + (5 * (channel)), \
2238+
/* Macro for defining 5GHZ channel array */
2239+
#define CHAN_5GHZ(channel) \
2240+
{ \
2241+
.band = NL80211_BAND_5GHZ, .hw_value = (channel), \
2242+
.center_freq = 5000 + (5 * (channel)), \
22452243
}
22462244

2245+
22472246
/* Macro for defining rate table */
2248-
#define RATE_ENT(_rate, _hw_value) \
2249-
{ \
2250-
.bitrate = (_rate), \
2251-
.hw_value = (_hw_value), \
2247+
#define RATE_ENT(_rate, _hw_value) \
2248+
{ \
2249+
.bitrate = (_rate), .hw_value = (_hw_value), \
22522250
}
22532251

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

0 commit comments

Comments
 (0)