aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac802154/tx.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-27 17:13:33 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-10-27 18:07:42 +0100
commit4ca18be54f507ddb2bedb44c2e3b988163684988 (patch)
tree4bcd9d3ab65c258526178d740b80a2c9dadcb38e /net/mac802154/tx.c
parentmac802154: rx: move receive handling into rx.c (diff)
downloadlinux-dev-4ca18be54f507ddb2bedb44c2e3b988163684988.tar.xz
linux-dev-4ca18be54f507ddb2bedb44c2e3b988163684988.zip
mac802154: tx: remove monitor receive while xmit
This removes the call of monitor receive funktion when any interface type call xmit. There exist no such use case that a monitor interface should receive the actual sending frame. One use case could be that a wpan interface and monitor interface could be running at the same time on one phy. Then the monitor interface receives the wpan frames also. Furthermore we adding support for promiscous mode setting. With promiscous mode setting we can't run a wpan and monitor interface at the same time. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/tx.c')
-rw-r--r--net/mac802154/tx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c
index 31e51e4635e4..e85767355c48 100644
--- a/net/mac802154/tx.c
+++ b/net/mac802154/tx.c
@@ -82,8 +82,6 @@ ieee802154_tx(struct ieee802154_local *local, struct sk_buff *skb)
struct net_device *dev = skb->dev;
int ret;
- mac802154_monitors_rx(local, skb);
-
if (!(local->hw.flags & IEEE802154_HW_OMIT_CKSUM)) {
u16 crc = crc_ccitt(0, skb->data, skb->len);