]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: fix number of available tx_policies
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 17 Oct 2019 09:40:07 +0000 (09:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:42:32 +0000 (20:42 +0200)
commit3549997e70635d7d32feafafb62490a8f92efd0f
tree42d24530c89ef7619cebfbc2098a4b96487efd0e
parentc2ff655d2d6374be5ddb1e6ac7572794529b8968
staging: wfx: fix number of available tx_policies

Original API declares 16 tx_policies. But in fact, the 16th is used
internally by the firmware. So, only 15 tx_policies are available for
driver.

Reported-by: Alban Jeantheau <alban.jeantheau@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191017093954.657-6-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_api_mib.h