aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Vossen <rvossen@broadcom.com>2010-12-07 11:45:37 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-08 17:27:47 -0500
commit4dc79de1e39957575a784cf79bb214e54a42d44e (patch)
tree9e71324912ee7b3c20f5269798e617f8075f2ec8
parent41224eb2dfe76fffc95cf9613c5bb2f4a518ddbf (diff)
staging: brcm80211: replaced typedef wlc_if_t by struct wlc_if
Code cleanup. Signed-off-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/brcm80211/sys/wlc_mac80211.c2
-rw-r--r--drivers/staging/brcm80211/sys/wlc_mac80211.h6
-rw-r--r--drivers/staging/brcm80211/sys/wlc_pub.h4
-rw-r--r--drivers/staging/brcm80211/sys/wlc_types.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c
index d3246b754c41..11cc6539850c 100644
--- a/drivers/staging/brcm80211/sys/wlc_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c
@@ -8384,7 +8384,7 @@ static void
8384wlc_txflowcontrol_signal(struct wlc_info *wlc, wlc_txq_info_t *qi, bool on, 8384wlc_txflowcontrol_signal(struct wlc_info *wlc, wlc_txq_info_t *qi, bool on,
8385 int prio) 8385 int prio)
8386{ 8386{
8387 wlc_if_t *wlcif; 8387 struct wlc_if *wlcif;
8388 8388
8389 for (wlcif = wlc->wlcif_list; wlcif != NULL; wlcif = wlcif->next) { 8389 for (wlcif = wlc->wlcif_list; wlcif != NULL; wlcif = wlcif->next) {
8390 if (wlcif->qi == qi && wlcif->flags & WLC_IF_LINKED) 8390 if (wlcif->qi == qi && wlcif->flags & WLC_IF_LINKED)
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.h b/drivers/staging/brcm80211/sys/wlc_mac80211.h
index 791e9178267e..81efffff391c 100644
--- a/drivers/staging/brcm80211/sys/wlc_mac80211.h
+++ b/drivers/staging/brcm80211/sys/wlc_mac80211.h
@@ -383,7 +383,7 @@ typedef struct dumpcb_s {
383 383
384/* virtual interface */ 384/* virtual interface */
385struct wlc_if { 385struct wlc_if {
386 wlc_if_t *next; 386 struct wlc_if *next;
387 u8 type; /* WLC_IFTYPE_BSS or WLC_IFTYPE_WDS */ 387 u8 type; /* WLC_IFTYPE_BSS or WLC_IFTYPE_WDS */
388 u8 index; /* assigned in wl_add_if(), index of the wlif if any, 388 u8 index; /* assigned in wl_add_if(), index of the wlif if any,
389 * not necessarily corresponding to bsscfg._idx or 389 * not necessarily corresponding to bsscfg._idx or
@@ -768,7 +768,7 @@ struct wlc_info {
768 768
769 u16 next_bsscfg_ID; 769 u16 next_bsscfg_ID;
770 770
771 wlc_if_t *wlcif_list; /* linked list of wlc_if structs */ 771 struct wlc_if *wlcif_list; /* linked list of wlc_if structs */
772 wlc_txq_info_t *active_queue; /* txq for the currently active transmit context */ 772 wlc_txq_info_t *active_queue; /* txq for the currently active transmit context */
773 u32 mpc_dur; /* total time (ms) in mpc mode except for the 773 u32 mpc_dur; /* total time (ms) in mpc mode except for the
774 * portion since radio is turned off last time 774 * portion since radio is turned off last time
@@ -946,7 +946,7 @@ extern const bcm_iovar_t wlc_iovars[];
946 946
947extern int wlc_doiovar(void *hdl, const bcm_iovar_t *vi, u32 actionid, 947extern int wlc_doiovar(void *hdl, const bcm_iovar_t *vi, u32 actionid,
948 const char *name, void *params, uint p_len, void *arg, 948 const char *name, void *params, uint p_len, void *arg,
949 int len, int val_size, wlc_if_t *wlcif); 949 int len, int val_size, struct wlc_if *wlcif);
950 950
951#if defined(BCMDBG) 951#if defined(BCMDBG)
952extern void wlc_print_ies(struct wlc_info *wlc, u8 *ies, uint ies_len); 952extern void wlc_print_ies(struct wlc_info *wlc, u8 *ies, uint ies_len);
diff --git a/drivers/staging/brcm80211/sys/wlc_pub.h b/drivers/staging/brcm80211/sys/wlc_pub.h
index 1530efe15f97..80331e8a81ea 100644
--- a/drivers/staging/brcm80211/sys/wlc_pub.h
+++ b/drivers/staging/brcm80211/sys/wlc_pub.h
@@ -510,8 +510,8 @@ extern void wlc_intrsrestore(struct wlc_info *wlc, u32 macintmask);
510extern bool wlc_intrsupd(struct wlc_info *wlc); 510extern bool wlc_intrsupd(struct wlc_info *wlc);
511extern bool wlc_isr(struct wlc_info *wlc, bool *wantdpc); 511extern bool wlc_isr(struct wlc_info *wlc, bool *wantdpc);
512extern bool wlc_dpc(struct wlc_info *wlc, bool bounded); 512extern bool wlc_dpc(struct wlc_info *wlc, bool bounded);
513extern bool wlc_send80211_raw(struct wlc_info *wlc, wlc_if_t *wlcif, void *p, 513extern bool wlc_send80211_raw(struct wlc_info *wlc, struct wlc_if *wlcif,
514 uint ac); 514 void *p, uint ac);
515extern bool wlc_sendpkt_mac80211(struct wlc_info *wlc, struct sk_buff *sdu, 515extern bool wlc_sendpkt_mac80211(struct wlc_info *wlc, struct sk_buff *sdu,
516 struct ieee80211_hw *hw); 516 struct ieee80211_hw *hw);
517extern int wlc_iovar_op(struct wlc_info *wlc, const char *name, void *params, 517extern int wlc_iovar_op(struct wlc_info *wlc, const char *name, void *params,
diff --git a/drivers/staging/brcm80211/sys/wlc_types.h b/drivers/staging/brcm80211/sys/wlc_types.h
index 837f72badecd..764bc4960699 100644
--- a/drivers/staging/brcm80211/sys/wlc_types.h
+++ b/drivers/staging/brcm80211/sys/wlc_types.h
@@ -21,7 +21,7 @@
21 21
22struct wlc_info; 22struct wlc_info;
23struct wlc_hw_info; 23struct wlc_hw_info;
24typedef struct wlc_if wlc_if_t; 24struct wlc_if;
25typedef struct wl_if wl_if_t; 25typedef struct wl_if wl_if_t;
26typedef struct ampdu_info ampdu_info_t; 26typedef struct ampdu_info ampdu_info_t;
27typedef struct wlc_ap_info wlc_ap_info_t; 27typedef struct wlc_ap_info wlc_ap_info_t;