]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 10 Jun 2015 17:42:14 +0000 (13:42 -0400)
commitd1e0cacec39accf823bdb70cc48902e644ae8c87
tree1a7b94c6dfce3f2c54a7ef39056e01b5f9c9a7aa
parent87529c630bb8a14ac0110cd4f9b9ed2f76909927
staging: vt6656: use ieee80211_tx_info to select packet type.

[ Upstream commit b23f14302e86628625ac3982a6d23e35888755f2 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/staging/vt6656/rxtx.c