> > static void mt76x0_dynamic_vga_tuning(struct mt76x02_dev *dev)
> > @@ -832,7 +825,11 @@ static void mt76x0_phy_calibrate(struct work_struct
> > *work)
> > cal_work.work);
> >
> > mt76x0_dynamic_vga_tuning(dev);
> > - mt76x0_temp_sensor(dev);
> > + if (!mt76x0_tssi_enabled(dev)) {
> > + int temp;
> > +
> > + mt76x0_temp_sensor(dev, &temp);
>
> Why this &temp is needed ? Preasumble it will be used in the future,
> but maybe you could at least add dev_dbg() to print it's value?
Correct. Sure I can add it in v2.
Regards,
Lorenzo
>
> Thanks
> Stanislaw