Hi, I am writing a CAN driver using the socketCAN framework. When there is an ACK error, the CAN hardware keeps resending the packet and keeps raising interrupts, which introduce too much overhead to the processor. And thus, I want the driver to close itself when the interrupt handler detects there are too many error interrupts.
Is there anyway to ask the upper layer to close the driver from the driver itself such that the upper layer knows the driver is closed? Is it enough to just call the ".ndo_stop() " function from the driver itself? Thanks, Wendy
_______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
