diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2013-10-31 14:07:45 +0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-05 14:54:55 -0500 |
commit | b3e3f87160c1654e0478d0cb52e5e9b8790535f2 (patch) | |
tree | 4d67e81ee1e3bf4e9dc0a37603af54577132d119 /drivers/net/wireless/ath/wcn36xx | |
parent | 9b0fa73d1e85b4e4aa6b5281e4438b5180d261bb (diff) |
wcn36xx: enable beacon change using BSS_CHANGED_BEACON
Enable the beacon changed using BSS_CHANGED_BEACON. This is
especially useful for mesh mode.
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 7839b31e482..e64a6784079 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -641,7 +641,8 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw, dev_kfree_skb(skb); } - if (changed & BSS_CHANGED_BEACON_ENABLED) { + if (changed & BSS_CHANGED_BEACON_ENABLED || + changed & BSS_CHANGED_BEACON) { wcn36xx_dbg(WCN36XX_DBG_MAC, "mac bss changed beacon enabled %d\n", bss_conf->enable_beacon); |