Author: vmikayelyan
Date: Thu Aug 25 10:13:11 2016
New Revision: 72453
URL:
http://svn.reactos.org/svn/reactos?rev=72453&view=rev
Log:
Fix for copypasta done in "usb: HUB: Add PnP state tracking"(r72388)
Modified:
branches/GSoC_2016/USB/drivers/usb/usbhub/usbhub.h
Modified: branches/GSoC_2016/USB/drivers/usb/usbhub/usbhub.h
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2016/USB/drivers/usb/usbhu…
==============================================================================
--- branches/GSoC_2016/USB/drivers/usb/usbhub/usbhub.h [iso-8859-1] (original)
+++ branches/GSoC_2016/USB/drivers/usb/usbhub/usbhub.h [iso-8859-1] Thu Aug 25 10:13:11
2016
@@ -62,7 +62,7 @@
(Data).PreviousPnPState = NotStarted;
#define SET_NEW_PNP_STATE(Data, state) \
-(Data).PnPState = (Data).PnPState;\
+(Data).PreviousPnPState = (Data).PnPState;\
(Data).PnPState = (state);
#define RESTORE_PREVIOUS_PNP_STATE(Data) \