Fixed dual band id issue for add_stations

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendracandela
2023-06-02 20:41:15 +05:30
parent 255e9f0106
commit afc4dd55fc

View File

@@ -973,13 +973,13 @@ class lf_tests(lf_libs):
for idx_ in dut_data[dut]["ssid_data"]:
temp_band = dut_data[dut]["ssid_data"][idx_]["band"]
if band == "2G":
if temp_band != "2G":
if temp_band.lower() == "twog":
temp_band = "2G"
elif band == "5G":
if temp_band != "5G":
if temp_band.lower() == "fiveg":
temp_band = "5G"
elif band == "6G":
if temp_band != "6G":
if temp_band.lower() == "sixg":
temp_band = "6G"
if band == temp_band and ssid_name == \
dut_data[dut]["ssid_data"][idx_]["ssid"]: