[Positioning] RP generation: fix SS weighting
The weighted mean of the SSs for the selected APs was wrong (an extra division by 2)
This commit is contained in:
parent
a975731ae4
commit
26e3c33366
|
@ -560,7 +560,7 @@ void Stock::regenerate_reference_points()
|
|||
/* Compute the SS */
|
||||
ref1_ss = ref1_ss * ref1_percent / 100 ;
|
||||
ref2_ss = ref2_ss * ref2_percent / 100 ;
|
||||
double rx_ss = (ref1_ss + ref2_ss) / 2 ;
|
||||
double rx_ss = ref1_ss + ref2_ss ;
|
||||
|
||||
/* Create the measurement, add it to the list */
|
||||
Measurement m(&rx->second) ;
|
||||
|
|
Loading…
Reference in New Issue