]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: identically validate beacon interval for AP/MESH/IBSS
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Thu, 11 Aug 2016 09:44:02 +0000 (15:14 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Aug 2016 18:00:36 +0000 (20:00 +0200)
commit53eb9bfad33818b1916cc3c6a618c633b7c690ef
tree1bfd787bfc2d85e6739541e76bbedafdfe2a6e7a
parentac4f27cd7f563d870079c0c87102a4b3a7339613
cfg80211: identically validate beacon interval for AP/MESH/IBSS

Beacon interval interface combinations validation was missing
for MESH/IBSS join, add those.

Johannes: also move the beacon interval check disallowing really
tiny and really big intervals into the common function, which
adds it for AP mode.

Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
net/wireless/util.c