ath9k: Fix bug in retrieving average beacon rssi