cfg80211: unify sending NL80211_CMD_NEW_INTERFACE
authorJohannes Berg <johannes.berg@intel.com>
Mon, 1 Oct 2018 12:18:31 +0000 (14:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 07:58:57 +0000 (09:58 +0200)
commitec8f170bc33ec5933e139a78ead286ecec1ea56b
treec3b0ec57d6118c3ce6748426b765812efc400370
parent85dd3da43dd59b9220d9cba4f933a3dc0ea6faa5
cfg80211: unify sending NL80211_CMD_NEW_INTERFACE

There isn't really any need for us to be sending this from
two different places - move cfg80211_init_wdev() later and
send the notification from there, removing it from the non-
netdev case.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c
net/wireless/nl80211.c