staging: brcm80211: move rssi computation to place we need it
authorArend van Spriel <arend@broadcom.com>
Thu, 29 Sep 2011 22:34:33 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:12:32 +0000 (16:12 -0700)
commit28bb0f60ce2ae66831735c650804942fa9da0b70
tree657064a16e0d1919a53b5e99ff8ee451fa9d6882
parent776dddc52d67e67c74d7cc9a60e915a4dab73a3d
staging: brcm80211: move rssi computation to place we need it

The rssi computation was done upon getting the frame from the
queue, but the value is needed when filling in the receive status
data for mac80211. The call to wlc_phy_rssi_compute() has been
deferred.

Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/main.c