Maybe:
```
if (timex_cmp(cc1100_watch_dog_period, timex_set(0, 0)) == 0)
```
? What do you think?