OSDN Git Service

staging: wfx: reduce hold duration of cfg80211_bss
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 10 Apr 2020 13:32:22 +0000 (15:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:42:35 +0000 (14:42 +0200)
commitb4d74f7ad1cdfb0099a4c844d3692ccd94b144aa
tree9fba766d1ff7938107d5b5e392f82a1f67ef112c
parent0f66c31eb6c457a8013c7093fd3204e7d8808115
staging: wfx: reduce hold duration of cfg80211_bss

Pointer to cfg80211_bss is held during all duration of wfx_do_join. But,
it is not necessary, We can release it far earlier.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200410133239.438347-3-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c