Changeset 2c98e78 in mainline


Ignore:
Timestamp:
2011-01-07T14:54:30Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
44bb20b, 72fea5a
Parents:
0f191a2
Message:

Bugfix in USB address keeping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/addrkeep.c

    r0f191a2 r2c98e78  
    187187                new_address_position = addresses->used_addresses.next;
    188188        } else {
     189                usb_address_keeping_used_t *first
     190                    = used_address_get_instance(addresses->used_addresses.next);
     191                previous_address = first->address;
     192               
    189193                for_all_used_addresses(new_address_position, addresses) {
    190194                        usb_address_keeping_used_t *info
     
    194198                                break;
    195199                        }
     200                        previous_address = info->address;
    196201                }
    197202
Note: See TracChangeset for help on using the changeset viewer.