diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-04-26 07:43:41 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-04-26 23:17:35 +0200 |
commit | ab81007a7b519d72f3c26d753a9fe1ffd27edc20 (patch) | |
tree | 1ea7fd3b731ebc910be1c064244a6ea3632b83c0 /samples | |
parent | 127f60bfa98f30f7f47ae362b9807f0d223cbcc2 (diff) | |
download | linux-ab81007a7b519d72f3c26d753a9fe1ffd27edc20.tar.gz linux-ab81007a7b519d72f3c26d753a9fe1ffd27edc20.tar.bz2 linux-ab81007a7b519d72f3c26d753a9fe1ffd27edc20.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions