]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: disallow beacon_int_min_gcd with IBSS
authorJohannes Berg <johannes.berg@intel.com>
Fri, 21 Oct 2016 12:25:12 +0000 (14:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2016 07:08:45 +0000 (09:08 +0200)
commit4c84df8124a03515104e89f9950494cfc9a40d85
tree30657b66739efee77c3c303e8b5d5dce589fe913
parent76a28862a826c2c60bb9bf34794341f633fc99c9
cfg80211: disallow beacon_int_min_gcd with IBSS

This can't really be supported right now, because the IBSS
interface may change its beacon interval at any time due to
joining another network; thus, there's already "support"
for different beacon intervals here, implicitly.

Until we figure out how we should handle this case (continue
to allow it to arbitrarily join? Join only if compatible?)
disallow advertising that different beacon intervals are
supported if IBSS is allowed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c