only turn off if we are not in CC1020_OFF state. (patch by Jesper Karlsson)
only turn off if we are not in CC1020_OFF state. (patch by Jesper Karlsson)

bluerover/6lbr,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,arurke/contiki,arurke/contiki,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki