commit | ab81007a7b519d72f3c26d753a9fe1ffd27edc20 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Apr 26 07:43:41 2017 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Apr 26 23:17:35 2017 +0200 |
tree | 1ea7fd3b731ebc910be1c064244a6ea3632b83c0 | |
parent | 127f60bfa98f30f7f47ae362b9807f0d223cbcc2 [diff] |
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: Johannes Berg <johannes.berg@intel.com>