]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: validate new interface's beacon intervals
authorJohannes Berg <johannes.berg@intel.com>
Fri, 21 Oct 2016 12:25:14 +0000 (14:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2016 07:18:07 +0000 (09:18 +0200)
commit825f14c270f074237ebcca6c25fe312e302d4cbb
tree34b620c1dcaa510b629a8282cb2613d47973cf65
parenta9bba4d6a5ed8bdbeedb678d1276f133821c18b6
mac80211: validate new interface's beacon intervals

As part of interface combination checking, verify any new
interface's beacon intervals. In fact, just always add the
beacon interval since that's harmless.

With this patch, mac80211 is prepared for drivers that set
the min_beacon_int_gcd parameter in interface combinations.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/util.c