summaryrefslogtreecommitdiff
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-09-20 09:19:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-20 09:19:14 -0400
commiteebb6fb4ae2f60a82e38afb6d8b373a4216bf891 (patch)
treeb87cbdea36983870d767c89d0a0df0f3d8229779 /net/wireless/reg.c
parent9d037a777695993ec7437e5f451647dea7919d4c (diff)
parent8c23516fbb209ccf8f8c36268311c721faff29ee (diff)
Merge branch 'master' of ssh://infradead/~/public_git/wireless into for-davem
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 02751dbc5a97..68a471ba193f 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -852,6 +852,7 @@ static void handle_channel(struct wiphy *wiphy,
return;
}
+ chan->beacon_found = false;
chan->flags = flags | bw_flags | map_regdom_flags(reg_rule->flags);
chan->max_antenna_gain = min(chan->orig_mag,
(int) MBI_TO_DBI(power_rule->max_antenna_gain));