From: Yoni Divinsky Date: Wed, 13 Jun 2012 15:56:54 +0000 (+0300) Subject: wlcore: do not report noise level in get survey op X-Git-Tag: v3.6-rc1~125^2~57^2~246^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=add779a0738a6bd199b3c5b9f0f8090036e53ff0;p=pandora-kernel.git wlcore: do not report noise level in get survey op The get survey op expects the low level driver to report the noise level for a a given channel. The noise calculated in wlcore is (rssi-snr/2), but since the snr reported by the FW is a derivative from the rssi this calculation is useless, and should not be reported to the user space. Reporting incorrect noise, results in the wpa_supplicant miscalculating the roaming candidate priority, thus causing a situation where an AP with a lower rssi level would be chosen over a better AP. Signed-off-by: Yoni Divinsky Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed