cfg80211: Notify previous user request during self managed wiphy registration
authorSriram R <srirrama@codeaurora.org>
Tue, 16 Apr 2019 05:46:33 +0000 (11:16 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 23 Apr 2019 11:45:30 +0000 (13:45 +0200)
commit8772eed9a95abd82cf188c93edb9645543ca4418
treef151c5365cd49f6ba6462a453ff384fb8734fc60
parentf1267cf3c01b12e0f843fb6a7450a7f0b2efab8a
cfg80211: Notify previous user request during self managed wiphy registration

Commit c82c06ce43d3("cfg80211: Notify all User Hints To self managed wiphys")
notified all new user hints to self managed wiphy's after device registration.
But it didn't do this for anything other than cell base hints done before
registration.

This needs to be done during wiphy registration of a self managed device also,
so that the previous user settings are retained.

Fixes: c82c06ce43d3 ("cfg80211: Notify all User Hints To self managed wiphys")
Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c