[PATCH 5.15 132/317] sr9800: Add check for usbnet_get_endpoints