proto-shell: set sm to S_IDLE once the interface is up