staging: vt6656: use ieee80211_tx_info to select packet type.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 4 Apr 2015 19:49:10 +0000 (20:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 12:28:04 +0000 (14:28 +0200)
commitb23f14302e86628625ac3982a6d23e35888755f2
treec3359aecc98b5f40604d379629318bf091813ddb
parentb5eed730bd3f216dd172d2d699686000f8cb9b38
staging: vt6656: use ieee80211_tx_info to select packet type.

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>
Cc: <stable@vger.kernel.org> # v3.17+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c