CAMDD_DEV_FLAG_ACTIVE
dev->flags |= CAMDD_DEV_FLAG_ACTIVE;
dev->flags &= ~CAMDD_DEV_FLAG_ACTIVE;
if (dev->peer_dev->flags & CAMDD_DEV_FLAG_ACTIVE) {