mac802154: move interface add handling in iface
authorAlexander Aring <alex.aring@gmail.com>
Wed, 5 Nov 2014 19:51:15 +0000 (20:51 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 5 Nov 2014 20:53:03 +0000 (21:53 +0100)
commit986a8abfc51e66c96f9d39529a6ff0443fcd2591
tree57f3640544539ae4f014603f11e773ba3d4183c6
parentb210b18747cb511bb71f6a49c97e8d38f639b435
mac802154: move interface add handling in iface

This patch moves and renames the mac802154_add_iface and
mac802154_netdev_register functions into iface.c. The function
mac802154_add_iface is renamed to ieee802154_if_add which is a similar naming
convention like mac80211.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/cfg.c
net/mac802154/ieee802154_i.h
net/mac802154/iface.c
net/mac802154/main.c