summaryrefslogtreecommitdiffstats
path: root/net/ieee802154/netlink.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-09-15 15:04:44 +0200
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-06 12:31:22 +0100
commit1eaa9d03d3ee9156c8c405b006ce892ae28290ad (patch)
treeec8da53b28c8e88e894152e36864afbd14b44139 /net/ieee802154/netlink.c
parentieee802154: split away MAC commands implementation (diff)
downloadlinux-1eaa9d03d3ee9156c8c405b006ce892ae28290ad.tar.xz
linux-1eaa9d03d3ee9156c8c405b006ce892ae28290ad.zip
ieee802154: add LIST_PHY command support
Add nl802154 command to get information about PHY's present in the system. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'net/ieee802154/netlink.c')
-rw-r--r--net/ieee802154/netlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c
index 5b738ec7d9f1..8a221737f75c 100644
--- a/net/ieee802154/netlink.c
+++ b/net/ieee802154/netlink.c
@@ -87,6 +87,10 @@ int __init ieee802154_nl_init(void)
if (rc)
goto fail;
+ rc = nl802154_phy_register();
+ if (rc)
+ goto fail;
+
return 0;
fail: