Fix the issue that can't send security enable msg

Fix the issue that can't send security enable msg in device config