OSDN Git Service

staging: wfx: ensure that packet_id is unique
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Jan 2020 13:55:28 +0000 (13:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:59:53 +0000 (20:59 +0100)
commit1b38e0d042c87389209596cae91271f47ad72499
tree3b95bec707e6a369ccb6f645dba3f10a7759a954
parentded6ca11af6bb0394a3c684b4c2e39c928ca4738
staging: wfx: ensure that packet_id is unique

In current code, packet_id is derivated from mac802.11 packet sequence
number, but this number is only unique for a station. It is not
sufficient.

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