diff --git a/adi/adrv9009.py b/adi/adrv9009.py index 25226fd31..13bb8c142 100644 --- a/adi/adrv9009.py +++ b/adi/adrv9009.py @@ -65,7 +65,7 @@ def profile(self, value): phys = [p for p in self.__dict__.keys() if "_ctrl" in p] phys = sorted(phys) for phy in phys[1:] + [phys[0]]: - self._set_iio_dev_attr_str("profile_config", data, self.getattr(phy)) + self._set_iio_dev_attr_str("profile_config", data, getattr(self, phy)) @property def frequency_hopping_mode(self):