According to one embodiment, an electronic device is provided with the
following an antenna, a first radio module configured to perform wireless
communications by use of the antenna, a second radio module configured to
perform wireless communications by use of the antenna, a first printed
circuit board with reference to which the second radio module is
attachable or detachable, a first cable which connects the antenna and
the second radio module together, a second cable which connects the
second radio module and the first radio module together, and a connection
mechanism which connects the first and second cables together in a state
where the second radio module is is detached from the first printed
circuit board.