mirror of
https://github.com/apache/nuttx.git
synced 2026-06-03 22:20:31 +08:00
drivers: wireless: Fix compile error with DEBUG_WIRELESS_INFO in gs2200m.c
Also, remove an inappropriate comment. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
65a866fbe2
commit
f5540e8922
@@ -543,13 +543,11 @@ static bool _control_pkt_q(FAR struct gs2200m_dev_s *dev)
|
|||||||
{
|
{
|
||||||
bool over = BULK_THRESHOLD < dev->total_bulk ? true : false;
|
bool over = BULK_THRESHOLD < dev->total_bulk ? true : false;
|
||||||
|
|
||||||
/* TODO: should enable again if disabled for long time
|
/* TODO: should enable again if disabled for long time */
|
||||||
* Or, should use flow control commands for gs2200m
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (dev->int_enabled && over)
|
if (dev->int_enabled && over)
|
||||||
{
|
{
|
||||||
wlinfo("--- pkt_q[%d] exceeds, disable irq \n", c);
|
wlinfo("--- disable irq \n");
|
||||||
dev->int_enabled = false;
|
dev->int_enabled = false;
|
||||||
dev->lower->disable();
|
dev->lower->disable();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user