Patch "mwifiex: Fix invalid port issue" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
mwifiex: Fix invalid port issue
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mwifiex-fix-invalid-port-issue.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Sun Mar 18 16:55:33 CET 2018
From: Ganapathi Bhat <[email protected]>
Date: Tue, 4 Apr 2017 10:16:28 +0530
Subject: mwifiex: Fix invalid port issue
From: Ganapathi Bhat <[email protected]>
[ Upstream commit ecd7eb7c2bcf99f6c23d68ad56ce15949da848a1 ]
We have to use start port, for TX/RX of single packet, instead of current aggregating port. This will fix SDIO CMD53(TX/RX) returning -ETIMEDOUT and halting the data path.
--- drivers/net/wireless/marvell/mwifiex/sdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/marvell/mwifiex/sdio.c +2 -2
@@ -1458,7 +1458,7 @@ static int mwifiex_sdio_card_to_host_mp_ }if (card->mpa_rx.pkt_cnt ==1 ) - mport = adapter->ioport + port; + mport = adapter->ioport + card->mpa_rx.start_port;if (mwifiex_read_data_sync (adapter, card->mpa_rx.buf, card->mpa_rx.buf_len, mport,1 ))
@@ -1891,7 +1891,7 @@ static int mwifiex_host_to_card_mp_aggr( }if (card->mpa_tx.pkt_cnt ==1 ) - mport = adapter->ioport + port; + mport = adapter->ioport + card->mpa_tx.start_port; ret =mwifiex_write_data_to_card (adapter, card->mpa_tx.buf, card->mpa_tx.buf_len, mport);
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/mwifiex-fix-invalid-port-issue.patch