From 64ce7563f26820c49bc64bd65ab57a9f7592f160 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 18 Dec 2014 16:27:46 -0600 Subject: [PATCH] CC3000: Fix yet another typo in last two commitsgit diff I should not be doing this when I have the flugit diff --- drivers/wireless/cc3000/cc3000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/wireless/cc3000/cc3000.c b/drivers/wireless/cc3000/cc3000.c index b6978d7b8b..f264136adc 100644 --- a/drivers/wireless/cc3000/cc3000.c +++ b/drivers/wireless/cc3000/cc3000.c @@ -680,7 +680,7 @@ static void * cc3000_worker(FAR void *arg) * aligned. */ - data_to_recv = (uint16_t)priv->rx_buffer.pbuffer[READ_OFFSET_TO_LENGTH] << 8 |; + data_to_recv = (uint16_t)priv->rx_buffer.pbuffer[READ_OFFSET_TO_LENGTH] << 8 | (uint16_t)priv->rx_buffer.pbuffer[READ_OFFSET_TO_LENGTH + 1]; if (data_to_recv)