ec disable bug fix
Merge pull request #1418 from huili2/EC_option_bugfix

ec disable bug fix