Fix the handling of the CCA

When pulled into Cooja this will probably break most testcases built on Contikimac!