Skip to content

Commit

Permalink
staging: brcm80211: Purge unused bcmwpa.[ch]
Browse files Browse the repository at this point in the history
Move two macros into wlc_mac80211.h and purge the rest.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Brett Rudley authored and Greg Kroah-Hartman committed Oct 14, 2010
1 parent 0a652b9 commit 4c71ebf
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 145 deletions.
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ BRCM80211_OFILES := \
util/bcmsrom.o \
util/bcmutils.o \
util/bcmwifi.o \
util/bcmwpa.o \
util/hndpmu.o \
util/linux_osl.o \
sys/wlc_alloc.o \
Expand Down
86 changes: 0 additions & 86 deletions drivers/staging/brcm80211/include/bcmwpa.h

This file was deleted.

1 change: 0 additions & 1 deletion drivers/staging/brcm80211/sys/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <bcmsrom.h>
#include <wlioctl.h>
#include <epivers.h>
#include <bcmwpa.h>
#include <sbhnddma.h>
#include <hnddma.h>
#include <hndpmu.h>
Expand Down
4 changes: 4 additions & 0 deletions drivers/staging/brcm80211/sys/wlc_mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ typedef struct wlc_bss_list {

/* if wpa is in use then portopen is true when the group key is plumbed otherwise it is always true
*/
#define WSEC_ENABLED(wsec) ((wsec) & (WEP_ENABLED | TKIP_ENABLED | AES_ENABLED))
#define WLC_SW_KEYS(wlc, bsscfg) ((((wlc)->wsec_swkeys) || \
((bsscfg)->wsec & WSEC_SWFLAG)))

#define WLC_PORTOPEN(cfg) \
(((cfg)->WPA_auth != WPA_AUTH_DISABLED && WSEC_ENABLED((cfg)->wsec)) ? \
(cfg)->wsec_portopen : true)
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/sys/wlc_stf.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <bcmendian.h>
#include <proto/802.11.h>
#include <wlioctl.h>
#include <bcmwpa.h>
#include <bcmwifi.h>
#include <d11.h>
#include <wlc_rate.h>
Expand Down
56 changes: 0 additions & 56 deletions drivers/staging/brcm80211/util/bcmwpa.c

This file was deleted.

0 comments on commit 4c71ebf

Please sign in to comment.