}
#define fMP_DISCONNECTED 0x00000002
-#define fMP_POST_READS 0x00000100
-#define fMP_POST_WRITES 0x00000200
#define MP_SET_FLAG(_M, _F) ((_M)->Flags |= (_F))
#define MP_CLEAR_FLAG(_M, _F) ((_M)->Flags &= ~(_F))
}
MP_CLEAR_FLAG(priv, fMP_DISCONNECTED);
- MP_SET_FLAG(priv, fMP_POST_READS);
- MP_SET_FLAG(priv, fMP_POST_WRITES);
if (device_init_registers(priv) == false) {
dev_dbg(&priv->usb->dev, " init register fail\n");
ieee80211_stop_queues(hw);
MP_SET_FLAG(priv, fMP_DISCONNECTED);
- MP_CLEAR_FLAG(priv, fMP_POST_WRITES);
- MP_CLEAR_FLAG(priv, fMP_POST_READS);
cancel_delayed_work_sync(&priv->run_command_work);