kernel: fix smartcard plug issue.