]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: wfx: retrieve greenfield mode from sta->ht_cap and bss_conf
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Jan 2020 13:54:19 +0000 (13:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:59:46 +0000 (20:59 +0100)
commit08dced7f7fe921a3880fd799583a5a85c348b85d
treedc6efd9b81a0542f5f765616b86b90e99b9d39f5
parentc08ffbf7c02bddedda9e2945a9934e2651436706
staging: wfx: retrieve greenfield mode from sta->ht_cap and bss_conf

wvif->ht_info contains useless copies of sta->ht_cap and
bss_conf->ht_operation_mode. Prefer to retrieve information from the
original structs instead of rely on wvif->ht_info.

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