Skip to content

Commit c8c240d

Browse files
Fix the coding style
1 parent ccbdf38 commit c8c240d

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
@@ -2224,26 +2224,24 @@ static struct cfg80211_ops vwifi_cfg_ops = {
22242224
};
22252225

22262226
/* Macro for defining 2GHZ channel array */
2227-
#define CHAN_2GHZ(channel, freq) \
2228-
{ \
2229-
.band = NL80211_BAND_2GHZ, \
2230-
.hw_value = (channel), \
2231-
.center_freq = (freq), \
2227+
#define CHAN_2GHZ(channel, freq) \
2228+
{ \
2229+
.band = NL80211_BAND_2GHZ, .hw_value = (channel), \
2230+
.center_freq = (freq), \
22322231
}
22332232

2234-
/* Macro for defining 5GHZ channel array */
2235-
#define CHAN_5GHZ(channel) \
2236-
{ \
2237-
.band = NL80211_BAND_5GHZ, \
2238-
.hw_value = (channel), \
2239-
.center_freq = 5000 + (5 * (channel)), \
2233+
/* Macro for defining 5GHZ channel array */
2234+
#define CHAN_5GHZ(channel) \
2235+
{ \
2236+
.band = NL80211_BAND_5GHZ, .hw_value = (channel), \
2237+
.center_freq = 5000 + (5 * (channel)), \
22402238
}
22412239

2240+
22422241
/* Macro for defining rate table */
2243-
#define RATE_ENT(_rate, _hw_value) \
2244-
{ \
2245-
.bitrate = (_rate), \
2246-
.hw_value = (_hw_value), \
2242+
#define RATE_ENT(_rate, _hw_value) \
2243+
{ \
2244+
.bitrate = (_rate), .hw_value = (_hw_value), \
22472245
}
22482246

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

0 commit comments

Comments
 (0)