@@ -2303,27 +2303,24 @@ static struct cfg80211_ops vwifi_cfg_ops = {
2303
2303
};
2304
2304
2305
2305
/* 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), \
2311
2310
}
2312
2311
2313
2312
/* 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)), \
2319
2317
}
2320
2318
2321
2319
2322
2320
/* 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), \
2327
2324
}
2328
2325
2329
2326
/* Array of "supported" channels in 2GHz band. It is required for wiphy. */
0 commit comments