Search Linux Wireless

Re: [PATCH 2/2] mt76x0: phy: fix mt76x0_temp_sensor routine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >  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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux