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>
This commit is contained in:
Chun-Yeow Yeoh 2013-10-31 14:07:45 +08:00 committed by John W. Linville
parent 9b0fa73d1e
commit b3e3f87160
1 changed files with 2 additions and 1 deletions

View File

@ -641,7 +641,8 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw,
dev_kfree_skb(skb); 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, wcn36xx_dbg(WCN36XX_DBG_MAC,
"mac bss changed beacon enabled %d\n", "mac bss changed beacon enabled %d\n",
bss_conf->enable_beacon); bss_conf->enable_beacon);