fakelb: move lock out of iteration
authorAlexander Aring <alex.aring@gmail.com>
Sun, 17 May 2015 19:45:04 +0000 (21:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 May 2015 09:44:46 +0000 (11:44 +0200)
commit6fa2cffe8cf937fc10be362a2dcac8a5965f618e
treedcd4bbfad53a414cc1a2ae8cb2bd8ef973b9441e
parentb82b99f16bc207291b14228441cfffbfd23d5f49
fakelb: move lock out of iteration

The list need to be protected while iteration which is need when other
list iterates at the same time over this list.

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