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>
Mon, 21 Nov 2011 22:35:24 +0000 (14:35 -0800)
commit7608d6b743d5347a01d0afc1b2f8f863a21ebb01
tree3f93ad76494c2f074bc05f5eaf496315556f61fc
parente7829936ef31adc774aecf5f35037725b6c0e29b
staging: brcm80211: fill in proper rx rate in mac80211 rx status

commit 5a84d6ad4c9306afb467a600a4c6d7b50da49440 upstream.

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