mac80211: re-organize the rx rate calculation logic
authorSaravana <saravanad@posedge.com>
Wed, 28 Nov 2012 12:59:38 +0000 (18:29 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Nov 2012 14:33:05 +0000 (15:33 +0100)
Currently the logic to fill a struct rate_info with
a STA's last RX rate is accessible only in the cfg.c.
As the RX rate calculation might be needed elsewhere,
split this out into a separate function.

Signed-off-by: Saravana <saravanad@posedge.com>
[fix various whitespace issues, reword commit log]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found