diff options
Diffstat (limited to 'src/drivers/bus/mca.c')
| -rw-r--r-- | src/drivers/bus/mca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/bus/mca.c b/src/drivers/bus/mca.c index 2cfbec4e4..5a9d339d0 100644 --- a/src/drivers/bus/mca.c +++ b/src/drivers/bus/mca.c @@ -28,7 +28,7 @@ static int mca_next_location ( struct bus_loc *bus_loc ) { BUS_LOC_CHECK ( struct mca_loc ); BUS_DEV_CHECK ( struct mca_device ); - return ( ++mca_loc->slot & MCA_MAX_SLOT_NR ); + return ( mca_loc->slot = ( ++mca_loc->slot & MCA_MAX_SLOT_NR ) ); } /* |
