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)
commit56271da29c52adb67a9e59117cfdc5a2c4902a07
tree30657b66739efee77c3c303e8b5d5dce589fe913
parent275fcf62c289d52f0fc14d774ab176c0d6196171
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