diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-03-29 08:56:22 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-04-08 13:31:24 +0200 |
commit | 45fcef8b727b6f171bc5443e8153181a367d7a15 (patch) | |
tree | d40f93ed046c8974e4d2b2c0962e3ec6934ceb29 /include | |
parent | a58d7525b8014115d57fd30186a84f6d30783f2c (diff) |
mac80211_hwsim: calculate if_combination.max_interfaces
If we just set this to 2048, and have multiple limits you
can select from, the total number might run over and cause
a warning in cfg80211. This doesn't make sense, so we just
calculate the total max_interfaces now.
Reported-by: syzbot+8f91bd563bbff230d0ee@syzkaller.appspotmail.com
Fixes: 99e3a44bac37 ("mac80211_hwsim: allow setting iftype support")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions