]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9bba4d6a5ed8bdbeedb678d1276f133821c18b6
treeaad4e3f257f3972c958823245d17bc1b9c4c0e3b
parent4c84df8124a03515104e89f9950494cfc9a40d85
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