aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/nl-phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154/nl-phy.c')
-rw-r--r--net/ieee802154/nl-phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/nl-phy.c b/net/ieee802154/nl-phy.c
index eed291626da6..d54be34cca94 100644
--- a/net/ieee802154/nl-phy.c
+++ b/net/ieee802154/nl-phy.c
@@ -101,7 +101,7 @@ static int ieee802154_list_phy(struct sk_buff *skb,
101 if (!phy) 101 if (!phy)
102 return -ENODEV; 102 return -ENODEV;
103 103
104 msg = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); 104 msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_KERNEL);
105 if (!msg) 105 if (!msg)
106 goto out_dev; 106 goto out_dev;
107 107