Skip to content
Commit ab81007a authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: simplify netlink socket owner interface deletion



There's no need to allocate a portid structure and then, for
each of those, walk the interfaces - we can just add a flag
to each interface and walk those directly. Due to padding in
the struct, we can even do it without any memory cost, and
it even simplifies the code.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 127f60bf
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