]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath9k: cleanup ath9k_hw_get_nf_hist_mid()
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 9 Jan 2025 08:07:03 +0000 (11:07 +0300)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 10 Jan 2025 22:42:51 +0000 (14:42 -0800)
commita72eaa175656836a32e94004ea05598409e2f2fd
treee9bdf5efabc0cb0e57536bff7dba069b98791a6e
parentf647dc6512efa88bd1a3dc2444a9d1ea170f4045
wifi: ath9k: cleanup ath9k_hw_get_nf_hist_mid()

In 'ath9k_hw_get_nf_hist_mid()', prefer 'memcpy()' and 'sort()'
over an ad-hoc things. Briefly tested as a separate module.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20250109080703.106692-1-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath9k/calib.c