Senior military adviser faulted, then reinstated