mirror of https://gitee.com/openkylin/linux.git
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:
parent
9b0fa73d1e
commit
b3e3f87160
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue