diff --git a/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/fan_drawer.py b/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/fan_drawer.py index 92120c4e62..b30ea24e0e 100644 --- a/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/fan_drawer.py +++ b/platform/barefoot/sonic-platform-modules-bfn-montara/sonic_platform/fan_drawer.py @@ -38,7 +38,7 @@ class Fan(FanBase): def set_speed(self, percent): def set_fan_speed(client): - return client.pltfm_mgr.pltfm_mgr_fan_speed_set(fan, percent) + return client.pltfm_mgr.pltfm_mgr_fan_speed_set(self.__num, percent) return thrift_try(set_fan_speed) # DeviceBase interface methods: