Skip to content

Commit

Permalink
make net/ieee80211.h private to ipw2x00
Browse files Browse the repository at this point in the history
Only ipw2x00 now uses it.  Reduce confusion.  Profit!

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed Feb 27, 2009
1 parent 1ea893f commit f3734ee
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2x00/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ config LIBIPW_DEBUG
% echo 0x00000FFO > /proc/net/ieee80211/debug_level

For a list of values you can assign to debug_level, you
can look at the bit mask values in <net/ieee80211.h>
can look at the bit mask values in ieee80211.h

If you are not trying to debug or develop the libipw
component, you most likely want to say N here.
File renamed without changes.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ipw2x00/ipw2100.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
#include <linux/wireless.h>
#include <net/iw_handler.h> // new driver API

#include <net/ieee80211.h>

#ifdef CONFIG_IPW2100_MONITOR
#include <net/ieee80211_radiotap.h>
#endif

#include <linux/workqueue.h>
#include <linux/mutex.h>

#include "ieee80211.h"

struct ipw2100_priv;
struct ipw2100_tx_packet;
struct ipw2100_rx_packet;
Expand Down
3 changes: 2 additions & 1 deletion drivers/net/wireless/ipw2x00/ipw2200.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@
#include <asm/io.h>

#include <net/lib80211.h>
#include <net/ieee80211.h>
#include <net/ieee80211_radiotap.h>

#define DRV_NAME "ipw2200"

#include <linux/workqueue.h>

#include "ieee80211.h"

/* Authentication and Association States */
enum connection_manager_assoc_states {
CMAS_INIT = 0,
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2x00/libipw_geo.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <linux/etherdevice.h>
#include <asm/uaccess.h>

#include <net/ieee80211.h>
#include "ieee80211.h"

int ieee80211_is_valid_channel(struct ieee80211_device *ieee, u8 channel)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2x00/libipw_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include <net/net_namespace.h>
#include <net/arp.h>

#include <net/ieee80211.h>
#include "ieee80211.h"

#define DRV_DESCRIPTION "802.11 data/management/control stack"
#define DRV_NAME "ieee80211"
Expand Down
3 changes: 2 additions & 1 deletion drivers/net/wireless/ipw2x00/libipw_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
#include <linux/ctype.h>

#include <net/lib80211.h>
#include <net/ieee80211.h>

#include "ieee80211.h"

static void ieee80211_monitor_rx(struct ieee80211_device *ieee,
struct sk_buff *skb,
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/ipw2x00/libipw_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <linux/etherdevice.h>
#include <asm/uaccess.h>

#include <net/ieee80211.h>
#include "ieee80211.h"

/*
Expand Down
3 changes: 2 additions & 1 deletion drivers/net/wireless/ipw2x00/libipw_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
#include <linux/jiffies.h>

#include <net/lib80211.h>
#include <net/ieee80211.h>
#include <linux/wireless.h>

#include "ieee80211.h"

static const char *ieee80211_modes[] = {
"?", "a", "b", "ab", "g", "ag", "bg", "abg"
};
Expand Down

0 comments on commit f3734ee

Please sign in to comment.