Commit 65f7052b authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211_hwsim: fix link change handling

The code for determining which links to update in wmediumd
or virtio was wrong, fix it to remove the deflink only if
there were no old links, and also add the deflink if there
are no other new links.

Fixes: c204d9df

 ("wifi: mac80211_hwsim: handle links for wmediumd/virtio")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c73993b8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment