]> git.karo-electronics.de Git - linux-beck.git/commit
mac802154: move local started handling
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:26 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:08 +0000 (23:19 +0100)
commite363eca386d0c28d8c6c4f176e1fa48b09a75315
tree0e65a12c2987d3ef6f68d240288b1d5dfc764eab
parent5d65cae4bf6ffe29bba90f621e947922c5fb80db
mac802154: move local started handling

This patch removes the current handling of started boolean. This is
actually dead code, because mac802154_netdev_register can't never be
called before ieee802154_register_hw. This means that local->started is
always be true when mac802154_netdev_register is called. Instead we
using this now like mac80211 to indicate that an instance of sdata is
running.

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