staging: rtl8723bs: indicate disconnection when disconnecting
authorChris Chiu <chiu@endlessm.com>
Wed, 31 Jul 2019 10:35:17 +0000 (18:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2019 11:37:13 +0000 (13:37 +0200)
commitf7d120d9e0b9cbdb20d45ff7998d5fe4820d1cdd
treedbedd892bae87ecd9d29952a1d67a39210c398ce
parent9a675a13c3bbb6ff46414b4ffaca5fa6bb54b62a
staging: rtl8723bs: indicate disconnection when disconnecting

The Realtek RTL8723BS only connects successfully at the very first
time, then it always fails attempting to switch to another AP. No
authentication/association observed from the air capture for each
attempt due to the cfg80211 believes the device is still connected.

Fix this by forcing to indicate the disconnection events during
disconnection so the cfg80211_connect can connect to a different
AP without problem.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
Link: https://lore.kernel.org/r/20190731103517.66903-1-chiu@endlessm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c