]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac802154: tx: don't allow if down while sync tx
authorAlexander Aring <alex.aring@gmail.com>
Sun, 26 Oct 2014 08:37:09 +0000 (09:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 26 Oct 2014 16:24:04 +0000 (17:24 +0100)
commit6001d5223dd458e4f0063df2a24762eb2a619b17
tree0a5f40246fa30dc7b87eec2b78baa59b1c229dc8
parented0a5dce0c29f30ee53a87793206156cf38ae70d
mac802154: tx: don't allow if down while sync tx

This patch holds rtnl lock while sync xmit inside of workqueue.
Otherwise we could down the interface while worker xmit handling.

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