[PATCH 06/14] mwifiex: don't short-circuit netdev notifiers on interface deletion

2017-05-24 Thread Brian Norris
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

[PATCH 06/14] mwifiex: don't short-circuit netdev notifiers on interface deletion

2017-05-24 Thread Brian Norris
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