summaryrefslogtreecommitdiffstats
path: root/drivers/tty/synclink_gt.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-07 10:38:31 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-10-25 07:56:23 +0200
commit35e92a8e1b9058a5f7da271a7a60264a4888f4b9 (patch)
tree05369199c4918deaecee3431cfe1af0391399279 /drivers/tty/synclink_gt.c
parente93102112c1659bd3b5991adc213816c792b9fbd (diff)
downloadop-kernel-dev-35e92a8e1b9058a5f7da271a7a60264a4888f4b9.zip
op-kernel-dev-35e92a8e1b9058a5f7da271a7a60264a4888f4b9.tar.gz
at86rf230: fix race condition
When the driver waits for a tx completion currently the driver direct enables the irq. When we switching to RX_AACK_ON some steps afterwards the driver could receive a new frame and request resources which are already in use, for example irq state change resource. To be sure there are no new interrupts when we switching to RX_AACK_ON, we enable the irq when state change to RX_AACK_ON was completed. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/tty/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud