fix bug4218:rscan -w writes wrong mgt for the CECs