Skip to content

Commit

Permalink
Merge pull request #378 from mvn23/support-713-wifi
Browse files Browse the repository at this point in the history
Add wifi support for ROS 7.13+ devices without a physical wifi radio
  • Loading branch information
tomaae authored Jan 7, 2025
2 parents de1ca6a + 464ba7b commit da2bffc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/mikrotik_router/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@ def get_capabilities(self):
self.support_capsman = False
self._wifimodule = "wifi"

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"

else:
self.support_capsman = True
self.support_wireless = bool(self.minor_fw_version < 13)
Expand Down

0 comments on commit da2bffc

Please sign in to comment.