nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerpe...@apache.org
Subject [incubator-nuttx] 01/02: drivers: wireless: Add do packet flow cotrol in gs2200m_ioctl_close()
Date Thu, 21 May 2020 10:46:22 GMT
This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 65e81a6159762ea0ce88a62f1f07d6e835747797
Author: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
AuthorDate: Thu May 21 09:56:05 2020 +0900

    drivers: wireless: Add do packet flow cotrol in gs2200m_ioctl_close()
    
    NOTE: active close now works during http audio streaming
    
    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
---
 drivers/wireless/gs2200m.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c
index 01d3d41..49caecd 100644
--- a/drivers/wireless/gs2200m.c
+++ b/drivers/wireless/gs2200m.c
@@ -2379,6 +2379,10 @@ errout:
 
   _remove_all_pkt(dev, _cid_to_uint8(msg->cid));
 
+  /* Do packet flow control */
+
+  _control_pkt_q(dev);
+
   wlinfo("++ end: cid=%c type=%d \n", msg->cid, type);
 
   return ret;


Mime
View raw message