staging: wfx: do not wait for a dtim before associate
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Apr 2020 16:11:33 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 10:29:41 +0000 (12:29 +0200)
commit1ab6bf4c56bb5f3ecea4453d40a7f4e882a7fbb7
tree51238465eb3f5b63c92659232e8e2adac2ab9487
parentb3919d9bbcde6c27f2072dd4242c54e076bb17b7
staging: wfx: do not wait for a dtim before associate

The only reason we ask to mac80211 to wait for a dtim before to
associate is to get an accurate DTIM value. However, we can temporary
set the dtim period to 1. Then we can waiting for
BSS_CHANGED_BEACON_INFO for the real value. Thus, the association
process is faster.

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