staging: vt6655: use ieee80211_tx_info to select packet type.
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 1 Apr 2015 21:32:52 +0000 (22:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:01:45 +0000 (22:01 +0200)
commit4b4c40a89685298337f978f6195da45923324c35
treec3fb6eedb7d55fb529c2332449b127cdbc9246a8
parent11ebd79a59cf22f9790dbb102a431b0151437ec5
staging: vt6655: use ieee80211_tx_info to select packet type.

commit a6388e68321a1e0a0f408379c2a36396807745b3 upstream.

Information for packet type is in ieee80211_tx_info

band IEEE80211_BAND_5GHZ for PK_TYPE_11A.

IEEE80211_TX_RC_USE_CTS_PROTECT via tx_rate flags selects PK_TYPE_11GB

This ensures that the packet is always the right type.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/rxtx.c