mac802154: tx: add support for xmit_async callback
authorAlexander Aring <alex.aring@gmail.com>
Sun, 26 Oct 2014 08:37:08 +0000 (09:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 26 Oct 2014 16:24:04 +0000 (17:24 +0100)
commited0a5dce0c29f30ee53a87793206156cf38ae70d
treebb2f9e7a5c1017679f7918cd665b2c825550f6c7
parentcdb66beaa0da7d326069b10bef090645d61d813f
mac802154: tx: add support for xmit_async callback

This patch renames the existsing xmit callback to xmit_sync and
introduces an asynchronous xmit_async function. If ieee802154_ops
doesn't provide the xmit_async callback, then we have a fallback to
the xmit_sync callback.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/cc2520.c
drivers/net/ieee802154/fakelb.c
drivers/net/ieee802154/mrf24j40.c
include/net/mac802154.h
net/mac802154/main.c
net/mac802154/tx.c