summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_80211_tx.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-25 20:59:10 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-25 20:59:10 -0400
commit831a179fc9387af6dbaa12816ae1e074d1f1a730 (patch)
treeefb3ea5fc390e7cefdaadb535dc166319ac6f69d /drivers/net/wireless/hostap/hostap_80211_tx.c
parentb4bf343093e81e33d75bede45896eda52cd5f2b4 (diff)
downloadblackbird-op-linux-831a179fc9387af6dbaa12816ae1e074d1f1a730.tar.gz
blackbird-op-linux-831a179fc9387af6dbaa12816ae1e074d1f1a730.zip
hostap: s/IEEE80211_FCTL_WEP/IEEE80211_FCTL_PROTECTED/ to fix build
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_80211_tx.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_80211_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_80211_tx.c b/drivers/net/wireless/hostap/hostap_80211_tx.c
index fb378046ab39..6358015f6526 100644
--- a/drivers/net/wireless/hostap/hostap_80211_tx.c
+++ b/drivers/net/wireless/hostap/hostap_80211_tx.c
@@ -466,7 +466,7 @@ int hostap_master_start_xmit(struct sk_buff *skb, struct net_device *dev)
else if ((tx.crypt || local->crypt[local->tx_keyidx]) && !no_encrypt) {
/* Add ISWEP flag both for firmware and host based encryption
*/
- fc |= IEEE80211_FCTL_WEP;
+ fc |= IEEE80211_FCTL_PROTECTED;
hdr->frame_ctl = cpu_to_le16(fc);
} else if (local->drop_unencrypted &&
WLAN_FC_GET_TYPE(fc) == IEEE80211_FTYPE_DATA &&
OpenPOWER on IntegriCloud