Skip to contentSkip to conversation

mac80211: enable WME for peer mesh STA

PATCH New Chun-Yeow Yeoh 1 participant 1 message Dec 20, 2013 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: enable WME for peer mesh STA

Enable the WME for peer mesh STA so that the driver, such as wcn36xx, will pick this up and enabling it in HW.

---
 net/mac80211/mesh_plink.c |    1 +
 1 file changed, 1 insertion(+)
net/mac80211/mesh_plink.c +1 -0
index cf83217..e8f60aa 100644
@@ -437,6 +437,7 @@ __mesh_sta_info_alloc(struct ieee80211_sub_if_data *sdata, u8 *hw_addr)
 	sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED);
 
 	set_sta_flag(sta, WLAN_STA_WME);
+	sta->sta.wme = true;
 
 	return sta;
 }
Signature · 1 line
1.7.9.5