A method for detecting incorrect connections and for enabling correction of such connection errors in a radio network that includes a device, the method comprising: Measuring, via the device, a parameter (S MEASURED) associated with at least two antenna ports of the device; characterized in Comparing, via the device, the measured parameter (S MEASURED) with an expected parameter (S EXPECTED), from a table at the device, associated with the at least two antenna ports to determine an error (ε); Comparing, via the device, the determined error (ε) to a threshold (δ THRESHOLD); and Determining (950; 960), via the device: an erroneous antenna port connection for the at least two antenna ports when the error (ε) exceeds the threshold (δ THRESHOLD), and a correct antenna port connection for the at least two antenna ports when the error (ε) is less than or equal to the threshold (δ THRESHOLD), and receiving antenna port permutations for a plurality of antenna ports of the device; receiving expected information associated with the plurality of antenna ports, from the table at the device, said expected information comprising expected amplitude and/or phase values between any two particular antenna ports; calculating expected values for different antenna port permutations based on the received expected information and the received antenna port permutations; acquiring measured values associated with the different antenna port permutations; comparing the expected values for the different antenna port permutations with the measured values for the different antenna port permutations to determine errors for the different antenna port permutations; and determining an optimal antenna port permutation to be one of the different antenna port permutations with the smallest determined error. Measuring, via the device, a parameter (S MEASURED) associated with at least two antenna ports of the device; characterized in Comparing, via the device, the measured parameter (S MEASURED) with an expected parameter (S EXPECTED), from a table at the device, associated with the at least two antenna ports to determine an error (ε); Comparing, via the device, the determined error (ε) to a threshold (δ THRESHOLD); and Determining (950; 960), via the device: an erroneous antenna port connection for the at least two antenna ports when the error (ε) exceeds the threshold (δ THRESHOLD), and a correct antenna port connection for the at least two antenna ports when the error (ε) is less than or equal to the threshold (δ THRESHOLD), and an erroneous antenna port connection for the at least two antenna ports when the error (ε) exceeds the threshold (δ THRESHOLD), and a correct antenna port connection for the at least two antenna ports when the error (ε) is less than or equal to the threshold (δ THRESHOLD), and receiving antenna port permutations for a plurality of antenna ports of the device; receiving expected information associated with the plurality of antenna ports, from the table at the device, said expected information comprising expected amplitude and/or phase values between any two particular antenna ports; calculating expected values for different antenna port permutations based on the received expected information and the received antenna port permutations; acquiring measured values associated with the different antenna port permutations; comparing the expected values for the different antenna port permutations with the measured values for the different antenna port permutations to determine errors for the different antenna port permutations; and determining an optimal antenna port permutation to be one of the different antenna port permutations with the smallest determined error.