|
@@ -347,6 +347,7 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
|
|
if (ieee80211_vif_is_mesh(&sdata->vif) &&
|
|
if (ieee80211_vif_is_mesh(&sdata->vif) &&
|
|
!sdata->u.mesh.user_mpm)
|
|
!sdata->u.mesh.user_mpm)
|
|
init_timer(&sta->plink_timer);
|
|
init_timer(&sta->plink_timer);
|
|
|
|
+ sta->nonpeer_pm = NL80211_MESH_POWER_ACTIVE;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
memcpy(sta->sta.addr, addr, ETH_ALEN);
|
|
memcpy(sta->sta.addr, addr, ETH_ALEN);
|