@@ -2300,27 +2300,24 @@ static struct cfg80211_ops vwifi_cfg_ops = {
2300
2300
};
2301
2301
2302
2302
/* 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), \
2308
2307
}
2309
2308
2310
2309
/* 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)), \
2316
2314
}
2317
2315
2318
2316
2319
2317
/* 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), \
2324
2321
}
2325
2322
2326
2323
/* Array of "supported" channels in 2GHz band. It is required for wiphy. */
0 commit comments