]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: Move bandwidth index lookup to new function.
authorQuytelda Kahja <quytelda@tamalin.org>
Sun, 17 Jun 2018 05:30:36 +0000 (22:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 13:03:16 +0000 (22:03 +0900)
commitfafba8b5268821a0a5684036bcfa473a9634ed63
tree41f1e0a39e4b34970ceb80531b328faa879b590b
parent82efbd19b4c0fb6260b5ac2a102076b9081638d7
staging: rtl8723bs: Move bandwidth index lookup to new function.

Factoring out the conditional lookup of bandwidth index into the power
limit table into it's own function simplifies the logic of
'phy_get_tx_pwr_lmt()'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c