]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: brcmfmac: Fix to add brcmf_clear_assoc_ies when rmmod
authorWataru Gohda <wataru.gohda@cypress.com>
Fri, 22 Jul 2022 11:56:29 +0000 (13:56 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Aug 2022 05:47:22 +0000 (08:47 +0300)
commit3f491278bcd1b5793c9dbf2bb445d452cace10f1
treeccda335d0b53966e51303cabf1562630ddf9c02c
parent85178e92a99a310f1027e676a48468ef389e0913
wifi: brcmfmac: Fix to add brcmf_clear_assoc_ies when rmmod

Conn_info->req_ie/resp_ie is used to indicate the assoc_req_ies /
assoc_resp_ies to cfg80211 layer when connection is done. The buffer is
freed and allocated again at next connection establishment. The buffers
also needs to be freed at the timing of rmmod as well.

Signed-off-by: Wataru Gohda <wataru.gohda@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220722115632.620681-5-alvin@pqrs.dk
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c