summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/uap_txrx.c
diff options
context:
space:
mode:
authorXinming Hu <huxm@marvell.com>2016-04-05 01:04:38 -0700
committerKalle Valo <kvalo@codeaurora.org>2016-04-07 19:42:22 +0300
commitad5ca845e3d194703be82ad4a2f3042f2e198e2b (patch)
tree59ac8e95808f5530d697a0a47836947409e7d0a3 /drivers/net/wireless/marvell/mwifiex/uap_txrx.c
parent00c5478049683b15599339e36cae7fffc1e62844 (diff)
downloadop-kernel-dev-ad5ca845e3d194703be82ad4a2f3042f2e198e2b.zip
op-kernel-dev-ad5ca845e3d194703be82ad4a2f3042f2e198e2b.tar.gz
mwifiex: schedule main workqueue for transmitting bridge packets
Bridge packets are enqueued to wmm tx queue, but will not be sent until main workqeue is scheduled for new interrupt or other reason. This adds unnecessary delay during traffic. We will schedule main workqueue when bridge packet is queued. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/uap_txrx.c')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/uap_txrx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/uap_txrx.c b/drivers/net/wireless/marvell/mwifiex/uap_txrx.c
index 52f7981..ee7fe58 100644
--- a/drivers/net/wireless/marvell/mwifiex/uap_txrx.c
+++ b/drivers/net/wireless/marvell/mwifiex/uap_txrx.c
@@ -212,6 +212,8 @@ static void mwifiex_uap_queue_bridged_pkt(struct mwifiex_private *priv,
atomic_inc(&adapter->tx_pending);
atomic_inc(&adapter->pending_bridged_pkts);
+ mwifiex_queue_main_work(priv->adapter);
+
return;
}
OpenPOWER on IntegriCloud