[PATCH 2/3] [v2] wifi: ath10k: simplify ath10k_peer_assoc_h_vht()

Jeff Johnson quic_jjohnson at quicinc.com
Wed Aug 23 07:55:41 PDT 2023


On 8/23/2023 2:50 AM, Dmitry Antipov wrote:
> Commit 3db24065c2c8 ("ath10k: enable VHT160 and VHT80+80 modes")
> introduces 'get_160mhz_nss_from_maxrate()' which never returns 0,
> which means that 'ath10k_peer_assoc_h_vht()' may be simplified.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>

Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>





More information about the ath10k mailing list