diff options
| author | Mohammed Shafi Shajakhan <[email protected]> | 2011-05-13 20:31:40 +0530 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-05-16 14:10:47 -0400 |
| commit | 21e8ee6d207f6d384689571101436eb9070c22ca (patch) | |
| tree | 74a9248670c1a5347d8ec58b6bc3c7703e94f4c7 /include/linux/debugobjects.h | |
| parent | 3e9a212a9e21266115bad2982016950fb2bf29c2 (diff) | |
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 <[email protected]>
Cc: Senthilkumar Balasubramanian <[email protected]>
Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions