On Wed, Aug 10, 2011 at 6:37 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2011-08-09 at 12:50 -0700, Thomas Pedersen wrote: > >> - mgmt->u.beacon.capab_info = 0x0; /* 0x0 for MPs */ >> + mgmt->u.beacon.capab_info |= sdata->u.mesh.security >> + ? WLAN_CAPABILITY_PRIVACY : 0; > > This should, I believe, warn if you run with sparse (make C=1 > M=net/mac80211 or your favourite invocation) -- there's an endian error > here. OK that's useful, Thanks! > > 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