[PATCH openEuler-5.10 516/557] can: mcba_usb: properly check endpoint type