From: Alexander Aring Date: Tue, 7 Oct 2014 08:38:31 +0000 (+0200) Subject: at86rf230: fix race condition X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~3^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e92a8e1b9058a5f7da271a7a60264a4888f4b9;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed