]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: send just necessary bytes
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 6 Apr 2020 11:17:56 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:32:39 +0000 (14:32 +0200)
commit0c87c80c9799facb04921e1298e08d201ec1a4c5
treed66bd320114e835a35957d7eb3f3dc5698b28dc2
parent61a8c2ea4b370d7f22b809778eb45ce987a2259a
staging: wfx: send just necessary bytes

Size of hif_mib_template_frame must be sufficient to contains bytes
declared by frame_length and cannot exceed 700bytes.

Change the API to reflect that.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200406111756.154086-12-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_api_mib.h
drivers/staging/wfx/hif_tx_mib.c