Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159449
b: refs/heads/master
c: 78090a5
h: refs/heads/master
i:
  159447: c5bfb1c
v: v3
  • Loading branch information
Dmitry Baryshkov authored and David S. Miller committed Aug 13, 2009
1 parent b029419 commit fac254c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8505091d2a067ad27d4a82df9cff8eae6ee52fca
refs/heads/master: 78090a58c49f2f6213d0bb1b3b4c4df73e26865f
2 changes: 1 addition & 1 deletion trunk/include/linux/nl802154.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ enum {

#define IEEE802154_ATTR_MAX (__IEEE802154_ATTR_MAX - 1)

extern struct nla_policy ieee802154_policy[];
extern const struct nla_policy ieee802154_policy[];

/* commands */
/* REQ should be responded with CONF
Expand Down
3 changes: 2 additions & 1 deletion trunk/net/ieee802154/nl_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#define NLA_HW_ADDR NLA_U64

struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
const struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
[IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, },
[IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, },

Expand All @@ -50,3 +50,4 @@ struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
[IEEE802154_ATTR_DURATION] = { .type = NLA_U8, },
[IEEE802154_ATTR_ED_LIST] = { .len = 27 },
};

0 comments on commit fac254c

Please sign in to comment.