Skip to content

Commit

Permalink
Bluetooth: Mesh: Fix parsing Kconfig with multiple equals signs
Browse files Browse the repository at this point in the history
This fixes in particular parsing such Kconfig option:
CONFIG_MODEM_ANTENNA_AT_MAGPIO="AT%XMAGPIO=1,0,0,1,1,1574,1577"

Signed-off-by: Pavel Vasilyev <[email protected]>
  • Loading branch information
PavelVPV authored and jfischer-no committed Mar 11, 2024
1 parent 9f5a261 commit f5ff95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bluetooth/mesh/mesh_dfu_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def from_file(cls, filename):
for line in config:
if not line.startswith("CONFIG_"):
continue
kconfig, value = line.split("=")
kconfig, value = line.split("=", 1)
configs[kconfig] = value.strip()
return configs
except Exception as err :
Expand Down

0 comments on commit f5ff95f

Please sign in to comment.