-
Peter Nelson authored
hot-swapping of such controllers. If a controllers is removed then all the controllers stop working and cpu usage gets high. The attached patch (against 2.6.11-rc3) corrects this bug by checking the information read from the controller. If the message length is bigger than the maximum possible, then it means the controller is not there and therefore this value should be discarded. Note that this is a re-send of a previous patch now that the patch of Peter (which had to be applied before this one) has been intregrated in the vanilla kernel. It's Peter's version modified to apply cleanly against 2.6.11-rc3 plus a fix in the comment. Signed-off-by:
Peter Nelson <rufus-kernel@hackish.org> Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net>
90324bfd