diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-10-01 11:43:00 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-02 09:58:25 +0200 |
commit | 71e5e886806ee3f8e0c44ed945eb2e4d6659c6e3 (patch) | |
tree | cfbc9830c5747b76da5205ed4c5f6c02f4b9b865 /net/wireless/lib80211_crypt_tkip.c | |
parent | mac80211: Remove unused initialization (diff) | |
download | linux-71e5e886806ee3f8e0c44ed945eb2e4d6659c6e3.tar.xz linux-71e5e886806ee3f8e0c44ed945eb2e4d6659c6e3.zip |
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: d7be102f2945 ("cfg80211: initialize regulatory keys/database later")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/lib80211_crypt_tkip.c')
0 files changed, 0 insertions, 0 deletions