On Fri, 2012-11-16 at 22:47 -0800, Marco Porsch wrote: > + if (info->attrs[NL80211_ATTR_LOCAL_MESH_POWER_MODE]) > + params.local_ps_mode = > + nla_get_u8(info->attrs[NL80211_ATTR_LOCAL_MESH_POWER_MODE]); As usual, missing range checks. However I don't get this entire patch? Doesn't the station control its own link PS mode? What happens if userspace uses this on a kernel that doesn't support it? johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html