Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259822
b: refs/heads/master
c: abfe180
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 6f5345e commit b2708e8
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 83 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: bb26354aae4becc94837fefaa3840cbc7283e2b1
refs/heads/master: abfe18046cc847730e1073ec57a6100d40855862
20 changes: 10 additions & 10 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,14 +524,14 @@ struct brcmf_ioctl {
/* Forward decls for struct dhd_pub (see below) */
struct dhd_bus; /* device bus info */
struct brcmf_proto; /* device communication protocol info */
struct dhd_info; /* device driver info */
struct brcmf_info; /* device driver info */

/* Common structure for module and instance linkage */
typedef struct dhd_pub {
/* Linkage ponters */
struct dhd_bus *bus;
struct brcmf_proto *prot;
struct dhd_info *info;
struct brcmf_info *info;

/* Internal dhd items */
bool up; /* Driver up/down (to OS) */
Expand Down Expand Up @@ -806,22 +806,22 @@ extern int brcmf_write_to_file(dhd_pub_t *dhd, u8 *buf, int size);
extern void brcmf_timeout_start(struct brcmf_timeout *tmo, uint usec);
extern int brcmf_timeout_expired(struct brcmf_timeout *tmo);

extern int brcmf_ifname2idx(struct dhd_info *dhd, char *name);
extern int brcmf_c_host_event(struct dhd_info *dhd, int *idx, void *pktdata,
extern int brcmf_ifname2idx(struct brcmf_info *dhd, char *name);
extern int brcmf_c_host_event(struct brcmf_info *dhd, int *idx, void *pktdata,
brcmf_event_msg_t *, void **data_ptr);

extern void brcmf_c_init(void);

extern int brcmf_add_if(struct dhd_info *dhd, int ifidx, void *handle,
extern int brcmf_add_if(struct brcmf_info *dhd, int ifidx, void *handle,
char *name, u8 *mac_addr, u32 flags, u8 bssidx);
extern void brcmf_del_if(struct dhd_info *dhd, int ifidx);
extern void brcmf_del_if(struct brcmf_info *dhd, int ifidx);

extern void brcmf_vif_add(struct dhd_info *dhd, int ifidx, char *name);
extern void brcmf_vif_del(struct dhd_info *dhd, int ifidx);
extern void brcmf_vif_add(struct brcmf_info *dhd, int ifidx, char *name);
extern void brcmf_vif_del(struct brcmf_info *dhd, int ifidx);

extern void brcmf_event(struct dhd_info *dhd, char *evpkt, int evlen,
extern void brcmf_event(struct brcmf_info *dhd, char *evpkt, int evlen,
int ifidx);
extern void brcmf_vif_sendup(struct dhd_info *dhd, int ifidx,
extern void brcmf_vif_sendup(struct brcmf_info *dhd, int ifidx,
unsigned char *cp, int len);

/* Send packet to dongle via data channel */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,8 @@ static void brcmf_c_show_host_event(brcmf_event_msg_t *event, void *event_data)
#endif /* SHOW_EVENTS */

int
brcmf_c_host_event(struct dhd_info *drvr_priv, int *ifidx, void *pktdata,
brcmf_event_msg_t *event, void **data_ptr)
brcmf_c_host_event(struct brcmf_info *drvr_priv, int *ifidx, void *pktdata,
brcmf_event_msg_t *event, void **data_ptr)
{
/* check whether packet is a BRCM event pkt */
brcmf_event_t *pvt_data = (brcmf_event_t *) pktdata;
Expand Down
Loading

0 comments on commit b2708e8

Please sign in to comment.