cdc_ncm: fix MTU and max_datagram_size handling
Changes/fixes: - inform device if max_datagram_size was changed by host - max_datagram_size can't be bigger MTU in ETH func descr - fix constants definitions to enable running CAIF service over NCM Tested on Intel/ARM. Reviewed-by: NSjur Brændeland <sjur.brandeland@stericsson.com> Tested-by: NDmitry Tarnyagin <Dmitry.Tarnyagin@stericsson.com> Signed-off-by: NAlexey Orishko <alexey.orishko@stericsson.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录