Patent ID: 8446838

Claim:
A wireless communication device which is connectable to a first wireless network including an access point and which is connectable to a second wireless network including a terminal device having an access point function, the wireless communication device comprising: a setting section configured to store wireless setup data in a volatile storage area, the wireless setup data being acquired according to an automatic wireless setup mode; a communication section configured to perform wireless communication using the wireless setup data stored in the volatile storage area; and a determination section configured to determine which one of the first wireless network and the second wireless network the wireless communication device is to be connected to, based on information which can be included in a specific signal received from the access point or the terminal device, wherein if the determination section determines that the wireless communication device is to be connected to the first wireless network, the setting section stores first wireless setup data acquired from the access point into the volatile storage area and a non-volatile storage area, and wherein if the determination section determines that the wireless communication device is to be connected to the second wireless network, the setting section stores second wireless setup data acquired from the terminal device into the volatile storage area without storing the second wireless setup data into the non-volatile storage area.