]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/mac80211/cfg.c
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)
commitac668afe414b1d41366f92a33b4d32428335db54
tree34b620c1dcaa510b629a8282cb2613d47973cf65
parent4c8dea638c16141adb046fd2e0cab51dfe43650c
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