Skip to content

Commit 3eefafd

Browse files
committed
Fix for copypasta done in "usb: HUB: Add PnP state tracking"(r72388)
svn path=/branches/GSoC_2016/USB/; revision=72453
1 parent ee57b4f commit 3eefafd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/usbhub/usbhub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ typedef enum _DEVICE_PNP_STATE {
6262
(Data).PreviousPnPState = NotStarted;
6363

6464
#define SET_NEW_PNP_STATE(Data, state) \
65-
(Data).PnPState = (Data).PnPState;\
65+
(Data).PreviousPnPState = (Data).PnPState;\
6666
(Data).PnPState = (state);
6767

6868
#define RESTORE_PREVIOUS_PNP_STATE(Data) \

0 commit comments

Comments
 (0)