ieee802154: add wpan_dev_list
authorAlexander Aring <alex.aring@gmail.com>
Sun, 9 Nov 2014 07:36:50 +0000 (08:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Nov 2014 18:50:28 +0000 (19:50 +0100)
commitfcf39e6e88e9492f6688ec8ba4e1be622b904232
treeae87d1f093f7b8baa69cc438af36d14ba1866abe
parent190ac1ca33442dc25a172ece0f34746a7e1514f3
ieee802154: add wpan_dev_list

This patch adds a wpan_dev_list list into cfg802154_registered_device
struct. Also adding new wpan_dev into this list while
cfg802154_netdev_notifier_call. This behaviour is mostly grab from
wireless core.c implementation and is needed for preparing nl802154
framework.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/cfg802154.h
net/ieee802154/core.c
net/ieee802154/core.h