cfg80211: validate beacon int as part of iface combinations
authorJohannes Berg <johannes.berg@intel.com>
Fri, 21 Oct 2016 12:25:13 +0000 (14:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2016 07:18:07 +0000 (09:18 +0200)
commit4c8dea638c16141adb046fd2e0cab51dfe43650c
treeaad4e3f257f3972c958823245d17bc1b9c4c0e3b
parent56271da29c52adb67a9e59117cfdc5a2c4902a07
cfg80211: validate beacon int as part of iface combinations

Remove the pointless checking against interface combinations in
the initial basic beacon interval validation, that currently isn't
taking into account radar detection or channels properly. Instead,
just validate the basic range there, and then delay real checking
to the interface combination validation that drivers must do.

This means that drivers wanting to use the beacon_int_min_gcd will
now have to pass the new_beacon_int when validating the AP/mesh
start.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/util.c