staging: brcm80211: fill in proper rx rate in mac80211 rx status
authorArend van Spriel <arend@broadcom.com>
Tue, 23 Aug 2011 12:14:00 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:10:15 +0000 (13:10 -0700)
commit5a84d6ad4c9306afb467a600a4c6d7b50da49440
tree8b0304899f9784d69f156f6efe34bd6efbebfc11
parentc13d2ad0599a73d87871c5a2b4468e8cbd4bf369
staging: brcm80211: fill in proper rx rate in mac80211 rx status

The brcmsmac driver supports different rates on 5GHz but this is not
taken into account when providing the rate index in the receive
status information passed to mac80211.

Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/mac80211_if.c
drivers/staging/brcm80211/brcmsmac/mac80211_if.h
drivers/staging/brcm80211/brcmsmac/main.c