Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27299
b: refs/heads/master
c: 459d408
h: refs/heads/master
i:
  27297: 02f7097
  27295: e85ef60
v: v3
  • Loading branch information
Zhu Yi authored and John W. Linville committed Apr 24, 2006
1 parent a026d19 commit 25229dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34f8ae467b066ab4cf90bdf85efd10e7d43f2ff0
refs/heads/master: 459d408768fecfd1c2d170ab073e8cfd48326b1f
12 changes: 6 additions & 6 deletions trunk/drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#define VP
#endif

#ifdef CONFIG_IEEE80211_RADIOTAP
#ifdef CONFIG_IPW2200_RADIOTAP
#define VR "r"
#else
#define VR
Expand Down Expand Up @@ -7583,7 +7583,7 @@ static void ipw_handle_data_packet(struct ipw_priv *priv,
}
}

#ifdef CONFIG_IEEE80211_RADIOTAP
#ifdef CONFIG_IPW2200_RADIOTAP
static void ipw_handle_data_packet_monitor(struct ipw_priv *priv,
struct ipw_rx_mem_buffer *rxb,
struct ieee80211_rx_stats *stats)
Expand Down Expand Up @@ -8191,7 +8191,7 @@ static void ipw_rx(struct ipw_priv *priv)

#ifdef CONFIG_IPW2200_MONITOR
if (priv->ieee->iw_mode == IW_MODE_MONITOR) {
#ifdef CONFIG_IEEE80211_RADIOTAP
#ifdef CONFIG_IPW2200_RADIOTAP

ipw_handle_data_packet_monitor(priv,
rxb,
Expand Down Expand Up @@ -8378,7 +8378,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int option)
#ifdef CONFIG_IPW2200_MONITOR
case 2:
priv->ieee->iw_mode = IW_MODE_MONITOR;
#ifdef CONFIG_IEEE80211_RADIOTAP
#ifdef CONFIG_IPW2200_RADIOTAP
priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
#else
priv->net_dev->type = ARPHRD_IEEE80211;
Expand Down Expand Up @@ -8633,7 +8633,7 @@ static int ipw_wx_set_mode(struct net_device *dev,
priv->net_dev->type = ARPHRD_ETHER;

if (wrqu->mode == IW_MODE_MONITOR)
#ifdef CONFIG_IEEE80211_RADIOTAP
#ifdef CONFIG_IPW2200_RADIOTAP
priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
#else
priv->net_dev->type = ARPHRD_IEEE80211;
Expand Down Expand Up @@ -9735,7 +9735,7 @@ static int ipw_wx_set_monitor(struct net_device *dev,
IPW_DEBUG_WX("SET MONITOR: %d %d\n", enable, parms[1]);
if (enable) {
if (priv->ieee->iw_mode != IW_MODE_MONITOR) {
#ifdef CONFIG_IEEE80211_RADIOTAP
#ifdef CONFIG_IPW2200_RADIOTAP
priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP;
#else
priv->net_dev->type = ARPHRD_IEEE80211;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/ipw2200.h
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ struct ipw_prom_priv {
};
#endif

#if defined(CONFIG_IEEE80211_RADIOTAP) || defined(CONFIG_IPW2200_PROMISCUOUS)
#if defined(CONFIG_IPW2200_RADIOTAP) || defined(CONFIG_IPW2200_PROMISCUOUS)
/* Magic struct that slots into the radiotap header -- no reason
* to build this manually element by element, we can write it much
* more efficiently than we can parse it. ORDER MATTERS HERE
Expand Down

0 comments on commit 25229dc

Please sign in to comment.