diff options
| author | Brian Norris <[email protected]> | 2017-07-24 18:13:22 -0700 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-07-28 17:47:47 +0300 |
| commit | 6417dba33538a856cf1b7d605942c707422213c9 (patch) | |
| tree | e11345bc7ee40d07e79b0e1f47143179696f0b39 /tools/perf/scripts/python/stackcollapse.py | |
| parent | ce32d1d83702064e7746453622fc2d6bdcd8baa4 (diff) | |
mwifiex: don't short-circuit netdev notifiers on interface deletion
When we leave the delete interface function, there are still netdev
hooks that might try to process the device. We're short-circuiting some
of that by changing the interface type and clearing ieee80211_ptr. This
means we skip NETDEV_UNREGISTER_FINAL in cfg80211. Fortunately, that is
currently a no-op.
We don't need most of the cleanup here anyway:
* the connection state will get (un)set as part of the disconnect
process (which cfg80211 already initiates for us)
* the interface type doesn't actually need to be cleared at all (it'll
trigger a WARN_ON() in cfg80211 if we do)
* the iee80211_ptr isn't really "ours" to clear anyway
So stop resetting those 3 things.
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions