]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: rework sdata state change to running
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:24 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:07 +0000 (23:19 +0100)
commit1307dfa217b354fdb1ec0241d07cfa23dd0e8344
tree9438ff7ae9c8c5c8e9b6d29bab56086748ae774b
parent008c80e29a6017bef8d47a0cd113b1b86f97f865
mac802154: rework sdata state change to running

This patch reworks the handling for setting the state like mac80211. We
use bit's instead a bool variable. The mutex is not needed because it use
test and set bits which are atomic operations.

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