Fix for a race between NotifyResumed() and device list refresh.  See #1840.
Merge branch 'master' of ssh://core.linn.co.uk/home/git/ohnet