[PATCH 1/2] Adapt to new beacon/dtim enum semantic

Olof Johansson dev at skyshaper.net
Sat Jul 6 13:03:15 EDT 2013


The commit 989c6505cdda587f87573bb6828f23964dd3d19b changes the name of
the enum BSS_CHANGED_DTIM_PERIOD to BSS_CHANGED_BEACON_INFO.
We need to update our code to the corresponding value.

Signed-off-by: Olof Johansson <dev at skyshaper.net>
---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 0cc3e02..7d4179d 100644
--- a/main.c
+++ b/main.c
@@ -516,7 +516,7 @@ static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw,
 		wcn->beacon_interval = bss_conf->beacon_int;
 	}
 
-	if (changed & BSS_CHANGED_DTIM_PERIOD) {
+	if (changed & BSS_CHANGED_BEACON_INFO) {
 		wcn36xx_dbg(WCN36XX_DBG_MAC,
 			    "mac bss changed dtim period %d",
 			    bss_conf->dtim_period);
-- 
1.8.3.1




More information about the wcn36xx mailing list