summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorAlexander Aring2014-11-05 20:51:17 +0100
committerMarcel Holtmann2014-11-05 21:53:04 +0100
commitd5ae67bacd9654b0e26b9f248249e9ee1b6e338b (patch)
tree7462206b0153d069ab4421a0d9d299c419d3b56e /net/key
parentmac802154: move dev_hold out of ieee802154_if_add (diff)
downloadkernel-qcow2-linux-d5ae67bacd9654b0e26b9f248249e9ee1b6e338b.tar.gz
kernel-qcow2-linux-d5ae67bacd9654b0e26b9f248249e9ee1b6e338b.tar.xz
kernel-qcow2-linux-d5ae67bacd9654b0e26b9f248249e9ee1b6e338b.zip
ieee802154: rework interface registration
This patch meld mac802154_netdev_register into ieee802154_if_add function. Also we have now only one alloc_netdev call with one interface setup routine "ieee802154_if_setup" instead two different one for each interface type. This patch checks via runtime the interface type and do different handling now. Additional we add the wpan_dev struct in ieee802154_sub_if_data and set the new ieee802154_ptr while netdev registration. This behaviour is very similar the mac80211 netdev registration functionality. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions