diff options
author | Martin Willi <martin@strongswan.org> | 2018-09-25 10:51:02 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-26 12:20:58 +0300 |
commit | 28ef8b49a338dc1844e86b7954cfffc7dfa2660a (patch) | |
tree | 6bbbea39ac06c8bd02a3739e1547a82c3387dc9e /net/wireless/nl80211.c | |
parent | f1c47eb61d52379de5747d02bb36be20d7a2d0d3 (diff) | |
download | linux-28ef8b49a338dc1844e86b7954cfffc7dfa2660a.tar.xz |
mac80211_hwsim: do not omit multicast announce of first added radio
The allocation of hwsim radio identifiers uses a post-increment from 0,
so the first radio has idx 0. This idx is explicitly excluded from
multicast announcements ever since, but it is unclear why.
Drop that idx check and announce the first radio as well. This makes
userspace happy if it relies on these events.
Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions