Commit c22a3a9c authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman

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: default avatarAlban Jeantheau <alban.jeantheau@silabs.com>
Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191017093954.657-6-Jerome.Pouiller@silabs.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 20ed2d16
...@@ -507,7 +507,7 @@ struct hif_mib_tx_rate_retry_policy { ...@@ -507,7 +507,7 @@ struct hif_mib_tx_rate_retry_policy {
uint8_t rates[12]; uint8_t rates[12];
} __packed; } __packed;
#define HIF_MIB_NUM_TX_RATE_RETRY_POLICIES 16 #define HIF_MIB_NUM_TX_RATE_RETRY_POLICIES 15
struct hif_mib_set_tx_rate_retry_policy { struct hif_mib_set_tx_rate_retry_policy {
uint8_t num_tx_rate_policies; uint8_t num_tx_rate_policies;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment