From: Mohammed Shafi Shajakhan Date: Fri, 13 May 2011 15:01:40 +0000 (+0530) Subject: ath9k: make sure main_rssi is positive X-Git-Tag: v3.0-rc1~377^2~54^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21e8ee6d207f6d384689571101436eb9070c22ca;p=pandora-kernel.git ath9k: make sure main_rssi is positive some times the rssi control descriptor for the main antenna may be negative like that of alternate antenna, hence before incrementing packet counts/rssi of main/alternate antenna make sure both main_rssi and alt_rssi are positive only. this avoids wrong selection of antenna due to diversity Cc: Gabriel Tseng Cc: Senthilkumar Balasubramanian Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- Reading git-diff-tree failed