diff options
author | Arik Nemtsov <arik@wizery.com> | 2015-03-01 09:10:15 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-04 10:34:12 +0100 |
commit | 3384d757d41521a3dee274ed2802bcd285ed8e62 (patch) | |
tree | 9993a13e3df98a06e9aabf5f4de0125478fe5e8a /net/mac80211/cfg.c | |
parent | 98fc43864af9e74116eec81c290db048cded15d8 (diff) | |
download | op-kernel-dev-3384d757d41521a3dee274ed2802bcd285ed8e62.zip op-kernel-dev-3384d757d41521a3dee274ed2802bcd285ed8e62.tar.gz |
mac80211: allow iterating inactive interfaces
Sometimes the driver might want to modify private data in interfaces
that are down. One possible use-case is cleaning up interface state
after HW recovery. Some interfaces that were up before the recovery took
place might be down now, but they might still be "dirty".
Introduce a new iterate_interfaces() API and a new ACTIVE iterator flag.
This way the internal implementation of the both active and inactive
APIs remains the same.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions