Skip to content

Commit

Permalink
Fix version check for devices without a physical wifi radio
Browse files Browse the repository at this point in the history
  • Loading branch information
mvn23 committed Jan 3, 2025
1 parent cf1b56c commit 464ba7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mikrotik_router/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def get_capabilities(self):
self.support_capsman = False
self._wifimodule = "wifi"

elif self.minor_fw_version >= 13:
elif (self.major_fw_version == 7 and self.minor_fw_version >= 13) or self.major_fw_version > 7:
self.support_capsman = False
self._wifimodule = "wifi"

Expand Down

0 comments on commit 464ba7b

Please sign in to comment.