diff options
author | Eliad Peller <eliad@wizery.com> | 2015-11-17 10:24:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-12-02 22:27:27 +0100 |
commit | 835112b28919d88d989a0a9313e323ad82e18b59 (patch) | |
tree | b5861c804c5f89e8d630a21bd9d2bc747d106b4f /scripts/cleanfile | |
parent | ac0621971a26526cad8cf9db7626d5e50562a441 (diff) |
mac80211: don't teardown sdata on sdata stop
Interfaces are being initialized (setup) on addition,
and torn down on removal.
However, p2p device is being torn down when stopped,
resulting in the next p2p start operation being done
on uninitialized interface.
Solve it by calling ieee80211_teardown_sdata() only
on interface removal (for the non-netdev case).
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
[squashed in fix to call teardown after unregister]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions