aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-02-25 14:47:22 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-25 14:47:22 (GMT)
commit8c9cb81fb7e55d131a02b31c9bd523f014602cf5 (patch)
treeb44e6441fc679269f3ac66b8b4b53f9daafe90ec
parent4f1e01b8e3ff1b9f2cc3fe04aa7ee5ac33436732 (diff)
downloadhostap-8c9cb81fb7e55d131a02b31c9bd523f014602cf5.zip
hostap-8c9cb81fb7e55d131a02b31c9bd523f014602cf5.tar.gz
hostap-8c9cb81fb7e55d131a02b31c9bd523f014602cf5.tar.bz2
DFS: Fix coding style (missing whitespace)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--src/ap/dfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ap/dfs.c b/src/ap/dfs.c
index 83f8e90..612f534 100644
--- a/src/ap/dfs.c
+++ b/src/ap/dfs.c
@@ -303,7 +303,7 @@ static int dfs_check_chans_available(struct hostapd_iface *iface,
mode = iface->current_mode;
- for(i = 0; i < n_chans; i++) {
+ for (i = 0; i < n_chans; i++) {
channel = &mode->channels[start_chan_idx + i];
if (channel->flag & HOSTAPD_CHAN_DISABLED)
@@ -332,7 +332,7 @@ static int dfs_check_chans_unavailable(struct hostapd_iface *iface,
mode = iface->current_mode;
- for(i = 0; i < n_chans; i++) {
+ for (i = 0; i < n_chans; i++) {
channel = &mode->channels[start_chan_idx + i];
if (channel->flag & HOSTAPD_CHAN_DISABLED)
res++;