diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2016-04-25 10:25:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-25 15:09:11 -0400 |
commit | a558da0916b90c330940a106105d0a6a67cb77f7 (patch) | |
tree | d70c89a176d23d5aeb6d436a7ef52e78b70e8d09 /net/ieee802154/nl802154.c | |
parent | 1c714a92833674c040e03be067accfb2b322221e (diff) | |
download | lwn-a558da0916b90c330940a106105d0a6a67cb77f7.tar.gz lwn-a558da0916b90c330940a106105d0a6a67cb77f7.zip |
ieee802154: use nla_put_u64_64bit()
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/nl802154.c')
-rw-r--r-- | net/ieee802154/nl802154.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ieee802154/nl802154.c b/net/ieee802154/nl802154.c index 614072064d03..8035c93dd527 100644 --- a/net/ieee802154/nl802154.c +++ b/net/ieee802154/nl802154.c @@ -813,7 +813,8 @@ nl802154_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, if (nla_put_u32(msg, NL802154_ATTR_WPAN_PHY, rdev->wpan_phy_idx) || nla_put_u32(msg, NL802154_ATTR_IFTYPE, wpan_dev->iftype) || - nla_put_u64(msg, NL802154_ATTR_WPAN_DEV, wpan_dev_id(wpan_dev)) || + nla_put_u64_64bit(msg, NL802154_ATTR_WPAN_DEV, + wpan_dev_id(wpan_dev), NL802154_ATTR_PAD) || nla_put_u32(msg, NL802154_ATTR_GENERATION, rdev->devlist_generation ^ (cfg802154_rdev_list_generation << 2))) |