at86rf230: correct aret lifs and sifs handling
authorAlexander Aring <alex.aring@gmail.com>
Tue, 7 Oct 2014 08:38:27 +0000 (10:38 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 05:56:22 +0000 (07:56 +0200)
commit850f43acb1869edf2a8b355330819412066d6fa2
tree668e5e840f1cc7c10423e70c785ad5e6036d1e43
parentd06c21990fbbca644a31a3c851c22a8d1f5d0e66
at86rf230: correct aret lifs and sifs handling

This patch adds lifs/sifs handling only if max_frame_retries is above
zero. The at86rf2xx datasheets says nothing about phy lifs/sifs
handling. I asked the atmel support and they said lifs/sifs is done
by phy when max_frame_retries is above zero.

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