]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: iface: flush workqueue before stop
authorAlexander Aring <alex.aring@gmail.com>
Sat, 13 Jun 2015 20:15:52 +0000 (22:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 14 Jun 2015 23:22:19 +0000 (01:22 +0200)
commitaeeea589b9de033db12c03aae4f7c44983181407
tree4db365cf6c263ff632d28c444fde36721661653c
parent71f9f0e6d9b842df9f8e39c0f9d49827ac4d6804
mac802154: iface: flush workqueue before stop

This patch flushs the workqueue which is currently used for xmit_sync
callback before calling stop driver-ops. Flush the queue will ensure all
pending tx frames are transmitted.

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