From: Alexander Smirnov <alex.bluesman.smir...@gmail.com>
Date: Mon, 19 Dec 2011 19:33:41 +0300

> +struct ieee802154_hw_addr_filt {
> +     u16 pan_id;
> +     u16 short_addr;
> +     u8 ieee_addr[IEEE802154_ADDR_LEN];
> +     u8 pan_coord;
> +};

What is the endianness of pan_id and short_addr objects?  You should use
the appropriate endianness types "__be16, __le16" and accessors to
represent this.

If you're storing them in cpu byte order, why?

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to