commit | 50b2e8711462409cd368c41067405aa446dfa2af | [log] [tgz] |
---|---|---|
author | taozhang <taozhang@bestechnic.com> | Sat Oct 15 17:38:31 2022 +0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Oct 21 12:34:59 2022 +0200 |
tree | 6fe7272395d85c75049e953509bc5df5a3e3f9d4 | |
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>