diff options
author | Roland Vossen <rvossen@broadcom.com> | 2010-12-07 11:45:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-08 17:27:47 -0500 |
commit | 4dc79de1e39957575a784cf79bb214e54a42d44e (patch) | |
tree | 9e71324912ee7b3c20f5269798e617f8075f2ec8 | |
parent | 41224eb2dfe76fffc95cf9613c5bb2f4a518ddbf (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.c | 2 | ||||
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_mac80211.h | 6 | ||||
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_pub.h | 4 | ||||
-rw-r--r-- | drivers/staging/brcm80211/sys/wlc_types.h | 2 |
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 | |||
8384 | wlc_txflowcontrol_signal(struct wlc_info *wlc, wlc_txq_info_t *qi, bool on, | 8384 | wlc_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 */ |
385 | struct wlc_if { | 385 | struct 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 | ||
947 | extern int wlc_doiovar(void *hdl, const bcm_iovar_t *vi, u32 actionid, | 947 | extern 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) |
952 | extern void wlc_print_ies(struct wlc_info *wlc, u8 *ies, uint ies_len); | 952 | extern 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); | |||
510 | extern bool wlc_intrsupd(struct wlc_info *wlc); | 510 | extern bool wlc_intrsupd(struct wlc_info *wlc); |
511 | extern bool wlc_isr(struct wlc_info *wlc, bool *wantdpc); | 511 | extern bool wlc_isr(struct wlc_info *wlc, bool *wantdpc); |
512 | extern bool wlc_dpc(struct wlc_info *wlc, bool bounded); | 512 | extern bool wlc_dpc(struct wlc_info *wlc, bool bounded); |
513 | extern bool wlc_send80211_raw(struct wlc_info *wlc, wlc_if_t *wlcif, void *p, | 513 | extern bool wlc_send80211_raw(struct wlc_info *wlc, struct wlc_if *wlcif, |
514 | uint ac); | 514 | void *p, uint ac); |
515 | extern bool wlc_sendpkt_mac80211(struct wlc_info *wlc, struct sk_buff *sdu, | 515 | extern bool wlc_sendpkt_mac80211(struct wlc_info *wlc, struct sk_buff *sdu, |
516 | struct ieee80211_hw *hw); | 516 | struct ieee80211_hw *hw); |
517 | extern int wlc_iovar_op(struct wlc_info *wlc, const char *name, void *params, | 517 | extern 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 | ||
22 | struct wlc_info; | 22 | struct wlc_info; |
23 | struct wlc_hw_info; | 23 | struct wlc_hw_info; |
24 | typedef struct wlc_if wlc_if_t; | 24 | struct wlc_if; |
25 | typedef struct wl_if wl_if_t; | 25 | typedef struct wl_if wl_if_t; |
26 | typedef struct ampdu_info ampdu_info_t; | 26 | typedef struct ampdu_info ampdu_info_t; |
27 | typedef struct wlc_ap_info wlc_ap_info_t; | 27 | typedef struct wlc_ap_info wlc_ap_info_t; |