summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-26 11:37:14 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-10-26 19:24:05 +0300
commit1e7283a271afcd45713f2813c97de300565a0dd7 (patch)
treeabaa75150bf7122fdff0a72c05e67b3e41ee442f /include
parente5e584fcc26b6b2225855b6fdba64d90dd8e2ea6 (diff)
downloadlinux-1e7283a271afcd45713f2813c97de300565a0dd7.tar.xz
mac802154: tx: add comment at sync xmit callback
This patch adds a warning that xmit_sync callback is deprecated and should be removed soon. The 802.15.4 subsystem will not accept synced drivers anymore. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac802154.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac802154.h b/include/net/mac802154.h
index 57b120281afc..942dd53d4658 100644
--- a/include/net/mac802154.h
+++ b/include/net/mac802154.h
@@ -117,6 +117,10 @@ struct ieee802154_hw {
* synchronous 802.15.4 drivers.
* This function should return zero or negative errno.
*
+ * WARNING:
+ * This will be deprecated soon. We don't accept synced xmit callbacks
+ * drivers anymore.
+ *
* xmit_async:
* Handler that 802.15.4 module calls for each transmitted frame.
* skb cntains the buffer starting from the IEEE 802.15.4 header.