diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2018-10-01 11:43:00 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:49:57 +0100 |
| commit | d934e5ce93819d9ff749d40d20037b98af773c9f (patch) | |
| tree | 9b0ee468384dfd6aea6e684c385b5c20057c007b /include/linux/cdev.h | |
| parent | 6d78742c572ea1e2b8f63cf161a73dcfed2928f7 (diff) | |
cfg80211: regulatory: make initialization more robust
[ Upstream commit 71e5e886806ee3f8e0c44ed945eb2e4d6659c6e3 ]
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: d7be102f2945 ("cfg80211: initialize regulatory keys/database later")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions
