aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2008-10-27 13:17:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:02:35 -0400
commit4c2442980043b9585be12b4f59e1bbe7e1f7a801 (patch)
tree01b49233156306294ff46cb2024ec319b80350d0 /drivers/net/wireless
parent9371dd685d212599f0f07e6bf1510c751f70bb37 (diff)
ath9k: use ETH_P_PAE
It was being discussed where we would put this, but now it found a home so use its define. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath9k/xmit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c
index 2f27a04487b4..7cfab5a542f0 100644
--- a/drivers/net/wireless/ath9k/xmit.c
+++ b/drivers/net/wireless/ath9k/xmit.c
@@ -177,8 +177,8 @@ static void fill_min_rates(struct sk_buff *skb, struct ath_tx_control *txctl)
177 txctl->min_rate = tx_info_priv->min_rate; 177 txctl->min_rate = tx_info_priv->min_rate;
178 } else if (ieee80211_is_data(fc)) { 178 } else if (ieee80211_is_data(fc)) {
179 if (ieee80211_is_nullfunc(fc) || 179 if (ieee80211_is_nullfunc(fc) ||
180 /* Port Access Entity (IEEE 802.1X) */ 180 /* Port Access Entity (IEEE 802.1X) */
181 (skb->protocol == cpu_to_be16(0x888E))) { 181 (skb->protocol == cpu_to_be16(ETH_P_PAE))) {
182 txctl->use_minrate = 1; 182 txctl->use_minrate = 1;
183 txctl->min_rate = tx_info_priv->min_rate; 183 txctl->min_rate = tx_info_priv->min_rate;
184 } 184 }