aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-04-13 05:21:00 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-04-24 16:15:57 -0400
commit459d408768fecfd1c2d170ab073e8cfd48326b1f (patch)
treee7eb822be216be303e7a1bff4882696e387da1ac /drivers/net/wireless/ipw2200.c
parent34f8ae467b066ab4cf90bdf85efd10e7d43f2ff0 (diff)
[PATCH] ipw2200: rename CONFIG_IEEE80211_RADIOTAP to CONFIG_IPW2200_RADIOTAP
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2200.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 19d1a9932eea..8a475c7e4add 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -58,7 +58,7 @@
58#define VP 58#define VP
59#endif 59#endif
60 60
61#ifdef CONFIG_IEEE80211_RADIOTAP 61#ifdef CONFIG_IPW2200_RADIOTAP
62#define VR "r" 62#define VR "r"
63#else 63#else
64#define VR 64#define VR
@@ -7583,7 +7583,7 @@ static void ipw_handle_data_packet(struct ipw_priv *priv,
7583 } 7583 }
7584} 7584}
7585 7585
7586#ifdef CONFIG_IEEE80211_RADIOTAP 7586#ifdef CONFIG_IPW2200_RADIOTAP
7587static void ipw_handle_data_packet_monitor(struct ipw_priv *priv, 7587static void ipw_handle_data_packet_monitor(struct ipw_priv *priv,
7588 struct ipw_rx_mem_buffer *rxb, 7588 struct ipw_rx_mem_buffer *rxb,
7589 struct ieee80211_rx_stats *stats) 7589 struct ieee80211_rx_stats *stats)
@@ -8191,7 +8191,7 @@ static void ipw_rx(struct ipw_priv *priv)
8191 8191
8192#ifdef CONFIG_IPW2200_MONITOR 8192#ifdef CONFIG_IPW2200_MONITOR
8193 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { 8193 if (priv->ieee->iw_mode == IW_MODE_MONITOR) {
8194#ifdef CONFIG_IEEE80211_RADIOTAP 8194#ifdef CONFIG_IPW2200_RADIOTAP
8195 8195
8196 ipw_handle_data_packet_monitor(priv, 8196 ipw_handle_data_packet_monitor(priv,
8197 rxb, 8197 rxb,
@@ -8378,7 +8378,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int option)
8378#ifdef CONFIG_IPW2200_MONITOR 8378#ifdef CONFIG_IPW2200_MONITOR
8379 case 2: 8379 case 2:
8380 priv->ieee->iw_mode = IW_MODE_MONITOR; 8380 priv->ieee->iw_mode = IW_MODE_MONITOR;
8381#ifdef CONFIG_IEEE80211_RADIOTAP 8381#ifdef CONFIG_IPW2200_RADIOTAP
8382 priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; 8382 priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
8383#else 8383#else
8384 priv->net_dev->type = ARPHRD_IEEE80211; 8384 priv->net_dev->type = ARPHRD_IEEE80211;
@@ -8633,7 +8633,7 @@ static int ipw_wx_set_mode(struct net_device *dev,
8633 priv->net_dev->type = ARPHRD_ETHER; 8633 priv->net_dev->type = ARPHRD_ETHER;
8634 8634
8635 if (wrqu->mode == IW_MODE_MONITOR) 8635 if (wrqu->mode == IW_MODE_MONITOR)
8636#ifdef CONFIG_IEEE80211_RADIOTAP 8636#ifdef CONFIG_IPW2200_RADIOTAP
8637 priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; 8637 priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
8638#else 8638#else
8639 priv->net_dev->type = ARPHRD_IEEE80211; 8639 priv->net_dev->type = ARPHRD_IEEE80211;
@@ -9735,7 +9735,7 @@ static int ipw_wx_set_monitor(struct net_device *dev,
9735 IPW_DEBUG_WX("SET MONITOR: %d %d\n", enable, parms[1]); 9735 IPW_DEBUG_WX("SET MONITOR: %d %d\n", enable, parms[1]);
9736 if (enable) { 9736 if (enable) {
9737 if (priv->ieee->iw_mode != IW_MODE_MONITOR) { 9737 if (priv->ieee->iw_mode != IW_MODE_MONITOR) {
9738#ifdef CONFIG_IEEE80211_RADIOTAP 9738#ifdef CONFIG_IPW2200_RADIOTAP
9739 priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; 9739 priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
9740#else 9740#else
9741 priv->net_dev->type = ARPHRD_IEEE80211; 9741 priv->net_dev->type = ARPHRD_IEEE80211;