OSDN Git Service

staging: wfx: remove unnecessary EDCA initialisation
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:25 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:23 +0000 (15:56 +0100)
commit654e369365fda7ed565646ccc5ac6d4f1d4dd6bb
tree7f21ad222a8570d37f287e9a143bf32ad9631cb4
parent7e2b32f54f61cc5ebc9c18d605ee84cef53eb60d
staging: wfx: remove unnecessary EDCA initialisation

mac80211 already call wfx_conf_tx() on every VIF instanciation. So, the
driver does not need to do it.

Note that current code did dirty things with wvif->edca_params. This
struct was initialized, but only 'queue_id' was really used. The other
members are only used to store temporary values.

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