diff options
author | Jérôme Pouiller <[email protected]> | 2019-12-17 16:14:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-12-18 15:51:02 +0100 |
commit | 89606bb3a9286a64bcdc2e58552edf6e2478c3bc (patch) | |
tree | c9d294ec561070b5e49962658e75980ffcd78bfd /lib/mpi/mpi-mul.c | |
parent | b0ac999ebe37c931e76fbdffffd7a5b77b2d788e (diff) |
staging: wfx: fix case of lack of tx_retry_policies
In some rare cases, driver may not have any available tx_retry_policies.
In this case, the driver asks to mac80211 to stop sending data. However,
it seems that a race is possible and a few frames can be sent to the
driver. In this case, driver can't wait for free tx_retry_policies since
wfx_tx() must be atomic. So, this patch fix this case by sending these
frames with the special policy number 15.
The firmware normally use policy 15 to send internal frames (PS-poll,
beacons, etc...). So, it is not a so bad fallback.
Signed-off-by: Jérôme Pouiller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions