What is claimed is:1. An electronic device for connecting with a Wi-Fi network, the electronic device comprising:a communication circuitry; andat least one processor configured to:establish a legacy Wi-Fi connection via the communication circuitry, andwhile the legacy Wi-Fi connection is established:receive a request related to file sharing between the electronic device and an external device using a Wi-Fi peer-to-peer (P2P) connection,in response to the receiving, set a group owner (GO) right of the Wi-Fi P2P connection based on an autonomous group owner mode,identify a channel being used for the legacy Wi-Fi connection,receive a message for establishing the Wi-Fi P2P connection from the external device through the identified channel which is determined as being used for the Wi-Fi P2P connection based on the group owner right, andtransmit a response to the message on the channel to the external device.2. The electronic device of claim 1, wherein the at least one processor is further configured to establish the Wi-Fi P2P connection during the legacy Wi-Fi connection.3. The electronic device of claim 2, wherein the at least one processor is further configured to disable the autonomous group owner mode when a device discovery process is ended.4. The electronic device of claim 3, wherein the at least one processor is capable to perform the device discovery process based on at least one of a menu selection, an execution of a predetermined application, or a Wi-Fi P2P connection request from another P2P device.5. The electronic device of claim 2, wherein the channel used for the legacy Wi-Fi connection is one channel among a non-social channel and a social channel.6. The electronic device of claim 5, wherein the social channel includes at least one of a channel #1, a channel #6, or a channel #11.7. A method for controlling an electronic device, the method comprising:establishing a legacy Wi-Fi connection via a communication circuitry of the electronic device; andwhile the legacy Wi-Fi connection is established:receiving a request related to file sharing between the electronic device and an external device using a Wi-Fi peer-to-peer (P2P) connection;in response to the receiving, setting a group owner (GO) right of the Wi-Fi P2P connection based on an autonomous group owner mode;identifying a channel being used for the legacy Wi-Fi connection;receiving a message for establishing the Wi-Fi P2P connection from the external device through the identified channel which is determined as being used for the Wi-Fi P2P connection based on the group owner right; andtransmitting a response to the message on the channel to the external device.8. The method of claim 7, wherein the method is further comprising establishing the Wi-Fi P2P connection during the legacy Wi-Fi connection.9. The method of claim 8, wherein the method is further comprising disabling the autonomous group owner mode when a device discovery process is ended.10. The method of claim 9, wherein the method is further comprising performing the device discovery process based on at least one of a menu selection, an execution of a predetermined application, or a Wi-Fi P2P connection request from another P2P device.11. The method of claim 8, wherein the channel used for the legacy Wi-Fi connection is one channel among a non-social channel and a social channel.12. The method of claim 11, wherein the social channel includes at least one of a channel #1, a channel #6, or a channel #11.13. A non-transitory computer-readable medium storing instructions which, when executed by at least one processor of an electronic device, cause the at least one processor to perform operations comprising:establishing a legacy Wi-Fi connection via a communication circuitry of the electronic device; andwhile the legacy Wi-Fi connection is established:receiving a request related to file sharing between the electronic device and an external device using a Wi-Fi peer-to-peer (P2P) connection;in response to the receiving, setting a group owner (GO) right of the Wi-Fi P2P connection based on an autonomous group owner mode;identifying a channel being used for the legacy Wi-Fi connection;receiving a message for establishing the Wi-Fi P2P connection from the external device through the identified channel which is determined as being used for the Wi-Fi P2P connection based on the group owner right; andtransmitting a response to the message on the channel to the external device.14. The non-transitory computer-readable medium of claim 13, wherein the operations are further comprising establishing the Wi-Fi P2P connection during the legacy Wi-Fi connection.15. The non-transitory computer-readable medium of claim 14, wherein the operations are further comprising disabling the autonomous group owner mode when a device discovery process is ended.16. The non-transitory computer-readable medium of claim 15, wherein the operations are further comprising performing the device discovery process based on at least one of a menu selection, an execution of a predetermined application, or a Wi-Fi P2P connection request from another P2P device.17. The non-transitory computer-readable medium of claim 14, wherein the channel used for the legacy Wi-Fi connection is one channel among a non-social channel and a social channel.18. The non-transitory computer-readable medium of claim 17, wherein the social channel includes at least one of a channel #1, a channel #6, or a channel #11.