(uVar)++; \
}
-#define MP_CLEAR_FLAG(_M, _F) ((_M)->flags &= ~(_F))
#define MP_TEST_FLAGS(_M, _F) (((_M)->flags & (_F)) == (_F))
int vnt_init(struct vnt_private *priv);
return -ENOMEM;
}
- MP_CLEAR_FLAG(priv, DEVICE_FLAGS_DISCONNECTED);
+ clear_bit(DEVICE_FLAGS_DISCONNECTED, &priv->flags);
if (device_init_registers(priv) == false) {
dev_dbg(&priv->usb->dev, " init register fail\n");
usb_device_reset(priv);
- MP_CLEAR_FLAG(priv, DEVICE_FLAGS_DISCONNECTED);
+ clear_bit(DEVICE_FLAGS_DISCONNECTED, &priv->flags);
vnt_reset_command_timer(priv);
vnt_schedule_command(priv, WLAN_CMD_INIT_MAC80211);