Patent ID: 8619623

Claim:
A method of forming an ad-hoc wireless local area network, the method comprising: receiving a first user input on a device initiated by a user; in response to receiving the first user input, entering a configuration mode on the device for configuring the device as one of an enrollee and a registrar in the ad-hoc wireless local area network; receiving a second user input on the device initiated by the user for configuring the device as one of the enrollee and the registrar in the ad-hoc wireless local area network; configuring the device as one of the enrollee and the registrar in response to the device receiving the second user input; and enabling communications between the device and a second device in the ad-hoc wireless network, wherein configuring the device as one of the enrollee and the registrar comprises: configuring the device as one of the enrollee and the registrar if the second user input is received by the device within a first predefined time of the first user input; and configuring the device as the other of the enrollee and the registrar if the second user input is not received by the device within the first predefined time of the first user input.