diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-07-09 10:38:35 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-07-09 11:36:12 +0200 |
commit | 0874bcd0e1c97db0bada32df0934d5cf2507bedd (patch) | |
tree | 86284c9e29d051557a6f53d69d2ebfa634d07d13 /net/mac80211/ibss.c | |
parent | 2920bc8d916d30b5273ec16e6878f13b24e3851f (diff) |
wifi: mac80211: extend ifcomb check functions for multi-radio
Add support for counting global and per-radio max/current number of
channels, as well as checking radio-specific interface combinations.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/e76307f8ce562a91a74faab274ae01f6a5ba0a2e.1720514221.git-series.nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 7db4c3ee7e6d..3f74bbceeca5 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c @@ -1746,7 +1746,7 @@ int ieee80211_ibss_join(struct ieee80211_sub_if_data *sdata, IEEE80211_CHANCTX_SHARED : IEEE80211_CHANCTX_EXCLUSIVE; ret = ieee80211_check_combinations(sdata, ¶ms->chandef, chanmode, - radar_detect_width); + radar_detect_width, -1); if (ret < 0) return ret; |