]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac820154: move mutex locks out of loop
authorAlexander Aring <alex.aring@gmail.com>
Wed, 12 Nov 2014 02:36:50 +0000 (03:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Nov 2014 04:10:36 +0000 (05:10 +0100)
commit2789e6297f8fd4943b8d63599a75c3e1cf4f8517
tree1b94b8ee15fbda78a165dd30286ff67b69bd42cf
parentd14e1c71cfa870a2ed9f058a79b1c71decdaa9ba
mac820154: move mutex locks out of loop

Instead of always re-lock the iflist_mtx at multiple interfaces we lock
the complete for each loop at start and at the end.

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