diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-10 15:32:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-13 14:42:43 +0200 |
commit | 54a9d85cab0892b5d3e5a5bba08a7f6973717025 (patch) | |
tree | 232f54215a24ec37ed7b15a9378536132aa5188d /drivers/staging/wfx/sta.c | |
parent | eeab4787d95b05a338e2a7ce125dc660c5fb232f (diff) | |
download | linux-54a9d85cab0892b5d3e5a5bba08a7f6973717025.tar.bz2 |
staging: wfx: disabling keep alive during unjoin is useless
After a call to hif_reset(), the parameters associated with BSS are
reset. So, it useless to explicitly reset the keep alive period.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200410133239.438347-10-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/sta.c')
-rw-r--r-- | drivers/staging/wfx/sta.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 67e16c435848..b0557dab91fd 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -413,7 +413,6 @@ static void wfx_do_unjoin(struct wfx_vif *wvif) /* Unjoin is a reset. */ wfx_tx_lock_flush(wvif->wdev); - hif_keep_alive_period(wvif, 0); hif_reset(wvif, false); wfx_tx_policy_init(wvif); hif_set_macaddr(wvif, wvif->vif->addr); |