mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
ieee802154: fix byteorder for short address and panid
This patch changes the byteorder handling for short and panid handling. We now except to get little endian in nl802154 for these attributes. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
cb41c8dd01
commit
ee7b9053bd
4 changed files with 15 additions and 15 deletions
|
|
@ -40,9 +40,9 @@ struct cfg802154_ops {
|
|||
struct wpan_dev *wpan_dev);
|
||||
int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel);
|
||||
int (*set_pan_id)(struct wpan_phy *wpan_phy,
|
||||
struct wpan_dev *wpan_dev, u16 pan_id);
|
||||
struct wpan_dev *wpan_dev, __le16 pan_id);
|
||||
int (*set_short_addr)(struct wpan_phy *wpan_phy,
|
||||
struct wpan_dev *wpan_dev, u16 short_addr);
|
||||
struct wpan_dev *wpan_dev, __le16 short_addr);
|
||||
int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
|
||||
struct wpan_dev *wpan_dev, u8 min_be,
|
||||
u8 max_be);
|
||||
|
|
|
|||
Loading…
Reference in a new issue