diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-10 15:32:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-13 14:42:44 +0200 |
commit | 23d57c152cef193c96598bb449f3f7e83c4aae2e (patch) | |
tree | 8ee2d1745ba9a841ef2499c3ce1ea6cc25deba41 /drivers/staging/wfx/sta.c | |
parent | 9f9a18e40e0849b72857b7ed47b3d3bb70d93052 (diff) | |
download | linux-23d57c152cef193c96598bb449f3f7e83c4aae2e.tar.bz2 |
staging: wfx: request to send beacons in IBSS mode
Currently, firmware take in charge of start/stop sending beacons while
in IBSS mode. However, this behavior may change in the further releases.
Currently, asking to firmware to send beacon while in IBSS mode return
an error but is harmless.
Therefore, send this request unconditionally.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200410133239.438347-12-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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 7af7bfa4ac99..3512e59f0968 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -697,8 +697,7 @@ void wfx_bss_info_changed(struct ieee80211_hw *hw, changed & BSS_CHANGED_BEACON) wfx_upload_ap_templates(wvif); - if (changed & BSS_CHANGED_BEACON_ENABLED && - wvif->state != WFX_STATE_IBSS) + if (changed & BSS_CHANGED_BEACON_ENABLED) wfx_enable_beacon(wvif, info->enable_beacon); if (changed & BSS_CHANGED_BEACON_INFO) |