mac802154: remove driver ops in wpan-phy
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:23 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:07 +0000 (23:19 +0100)
commita543c5989d7711d984608f4e12a73218642ca865
tree2a0613d1873fbd5d37de7c330430309ddfc72e1c
parente1d299f61a1660cbbabccfa0d07421861b9b9711
mac802154: remove driver ops in wpan-phy

This patch removes the driver ops callbacks inside of wpan_phy struct.
It was used to check if a phy supports this driver ops call. We do this
now via hardware flags.

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