]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:03:42 +0000 (22:03 +0200)
commitc373916a7434a49607ece05dbf0f60c697ad7291
treec813375c1de6b9fd0dc3a0db29a841aa17337de2
parentda01c0cfb196bef048fcb16727d646138d257ce3
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