[riot-notifications] [RIOT-OS/RIOT] drivers/slipdev: report NETOPT_ADDRESS to simulate l2 address (#16531)

benpicco notifications at github.com
Fri Jun 11 10:12:02 CEST 2021


@benpicco commented on this pull request.



>  {
     /* set device descriptor fields */
     dev->config = *params;
     dev->state = 0;
     dev->netdev.driver = &slip_driver;
+
+    netdev_register(&dev->netdev, NETDEV_SLIPDEV, index);

Well it's still useful for `gnrc_netif_get_by_type()`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16531#discussion_r649781142
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210611/263ee17c/attachment.htm>


More information about the notifications mailing list