Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71e5e886 authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: regulatory: make initialization more robust



Since my change to split out the regulatory init to occur later,
any issues during earlier cfg80211_init() or errors during the
platform device allocation would lead to crashes later. Make this
more robust by checking that the earlier initialization succeeded.

Fixes: d7be102f ("cfg80211: initialize regulatory keys/database later")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c70616bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment