drivers: wireless: Fix pkt_q_cnt overflow in gs2200m.c

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-05-20 18:44:51 +09:00 committed by Alin Jerpelea
parent 3fdbff3638
commit 3c622db780

View File

@ -188,7 +188,7 @@ struct gs2200m_dev_s
struct work_s irq_work;
sem_t dev_sem;
dq_queue_t pkt_q[16];
uint8_t pkt_q_cnt[16];
uint16_t pkt_q_cnt[16];
uint16_t valid_cid_bits;
uint16_t aip_cid_bits;
uint8_t tx_buff[MAX_PKT_LEN];