On 2010-04-04 3:12 AM, Max Filippov wrote: > According to the current 802.11s draft mesh capability field > is 16 bits wide. > > Signed-off-by: Max Filippov <jcmvbkbc@xxxxxxxxx> > --- > include/linux/ieee80211.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h > index 1998495..910b4bc 100644 > --- a/include/linux/ieee80211.h > +++ b/include/linux/ieee80211.h > @@ -604,7 +604,7 @@ struct ieee80211_meshconf_ie { > u8 meshconf_synch; > u8 meshconf_auth; > u8 meshconf_form; > - u8 meshconf_cap; > + u16 meshconf_cap; Shouldn't that be __le16? You probably also have to add le16_to_cpu in the place that accesses this field, otherwise this introduces an endian bug. - Felix -- 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