Skip to content

Commit bb7b517

Browse files
Fix coding style
1 parent 4e81b72 commit bb7b517

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
@@ -2300,27 +2300,24 @@ static struct cfg80211_ops vwifi_cfg_ops = {
23002300
};
23012301

23022302
/* Macro for defining 2GHZ channel array */
2303-
#define CHAN_2GHZ(channel, freq) \
2304-
{ \
2305-
.band = NL80211_BAND_2GHZ, \
2306-
.hw_value = (channel), \
2307-
.center_freq = (freq), \
2303+
#define CHAN_2GHZ(channel, freq) \
2304+
{ \
2305+
.band = NL80211_BAND_2GHZ, .hw_value = (channel), \
2306+
.center_freq = (freq), \
23082307
}
23092308

23102309
/* Macro for defining 5GHZ channel array */
2311-
#define CHAN_5GHZ(channel) \
2312-
{ \
2313-
.band = NL80211_BAND_5GHZ, \
2314-
.hw_value = (channel), \
2315-
.center_freq = 5000 + (5 * (channel)), \
2310+
#define CHAN_5GHZ(channel) \
2311+
{ \
2312+
.band = NL80211_BAND_5GHZ, .hw_value = (channel), \
2313+
.center_freq = 5000 + (5 * (channel)), \
23162314
}
23172315

23182316

23192317
/* Macro for defining rate table */
2320-
#define RATE_ENT(_rate, _hw_value) \
2321-
{ \
2322-
.bitrate = (_rate), \
2323-
.hw_value = (_hw_value), \
2318+
#define RATE_ENT(_rate, _hw_value) \
2319+
{ \
2320+
.bitrate = (_rate), .hw_value = (_hw_value), \
23242321
}
23252322

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

0 commit comments

Comments
 (0)