We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418b692 commit 9f9075cCopy full SHA for 9f9075c
drivers/usbdev/cdcncm.c
@@ -2609,11 +2609,15 @@ static int cdcncm_setup(FAR struct usbdevclass_driver_s *driver,
2609
{
2610
case 0x0000:
2611
self->parseropts = &g_ndp16_opts;
2612
+ self->ndpsign = self->isncm ? self->parseropts->ndpsign :
2613
+ CDC_MBIM_NDP16_NOCRC_SIGN;
2614
uinfo("NCM16 selected\n");
2615
ret = 0;
2616
break;
2617
case 0x0001:
2618
self->parseropts = &g_ndp32_opts;
2619
2620
+ CDC_MBIM_NDP32_NOCRC_SIGN;
2621
uinfo("NCM32 selected\n");
2622
2623
0 commit comments