]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/mac80211/sta_info.c
mac80211: initialize power mode for mesh STAs
[karo-tx-linux.git] / net / mac80211 / sta_info.c
index aaf68d297221fc2f772546c81d5ff4224277f810..aeb967a0aeed5ccc49b6c45c5ac13d0d97f97130 100644 (file)
@@ -347,6 +347,7 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
        if (ieee80211_vif_is_mesh(&sdata->vif) &&
            !sdata->u.mesh.user_mpm)
                init_timer(&sta->plink_timer);
+       sta->nonpeer_pm = NL80211_MESH_POWER_ACTIVE;
 #endif
 
        memcpy(sta->sta.addr, addr, ETH_ALEN);