]> git.itanic.dy.fi Git - linux-stable/commit
staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 9 Nov 2018 05:30:09 +0000 (23:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 18:32:13 +0000 (19:32 +0100)
commitb73301b7db4a6987c64d1d98a173254d736a3ba2
tree78732d80612b8ef81a1b5c5ed501aab2f0ca6389
parent6d956674dfc5ef606ae914446296c261dfeaf03d
staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station

commit 8561fb31a1f9594e2807681f5c0721894e367f19 upstream.

With Androidx86 8.1, wificond returns "failed to get
nl80211_sta_info_tx_failed" and wificondControl returns "Invalid signal
poll result from wificond". The fix is to OR sinfo->filled with
BIT_ULL(NL80211_STA_INFO_TX_FAILED).

This missing bit is apparently not needed with NetworkManager, but it
does no harm in that case.

Reported-and-Tested-by: youling257 <youling257@gmail.com>
Cc: linux-wireless@vger.kernel.org
Cc: youling257 <youling257@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c