diff options
author | taozhang <taozhang@bestechnic.com> | 2022-10-15 17:38:31 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-10-21 12:34:59 +0200 |
commit | 50b2e8711462409cd368c41067405aa446dfa2af (patch) | |
tree | 6fe7272395d85c75049e953509bc5df5a3e3f9d4 /net/wireless | |
parent | 03c0ad4b06c3566de624b4f4b78ac1a5d1e4c8e7 (diff) |
wifi: mac80211: fix memory free error when registering wiphy fail
ieee80211_register_hw free the allocated cipher suites when
registering wiphy fail, and ieee80211_free_hw will re-free it.
set wiphy_ciphers_allocated to false after freeing allocated
cipher suites.
Signed-off-by: taozhang <taozhang@bestechnic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions