You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/07/17 10:59:35 UTC
[incubator-nuttx] branch master updated: drivers: wireless: Fix
compile error with DEBUG_WIRELESS_INFO in gs2200m.c
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new f5540e8 drivers: wireless: Fix compile error with DEBUG_WIRELESS_INFO in gs2200m.c
f5540e8 is described below
commit f5540e892243cbdc4f7fd594a14966671ead59e7
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Fri Jul 17 09:04:15 2020 +0900
drivers: wireless: Fix compile error with DEBUG_WIRELESS_INFO in gs2200m.c
Also, remove an inappropriate comment.
Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
drivers/wireless/gs2200m.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c
index d36f45a..b3a64ab 100644
--- a/drivers/wireless/gs2200m.c
+++ b/drivers/wireless/gs2200m.c
@@ -543,13 +543,11 @@ static bool _control_pkt_q(FAR struct gs2200m_dev_s *dev)
{
bool over = BULK_THRESHOLD < dev->total_bulk ? true : false;
- /* TODO: should enable again if disabled for long time
- * Or, should use flow control commands for gs2200m
- */
+ /* TODO: should enable again if disabled for long time */
if (dev->int_enabled && over)
{
- wlinfo("--- pkt_q[%d] exceeds, disable irq \n", c);
+ wlinfo("--- disable irq \n");
dev->int_enabled = false;
dev->lower->disable();
}