Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220071
b: refs/heads/master
c: d7e5088
h: refs/heads/master
i:
  220069: 32aeb75
  220067: e39c7cc
  220063: 1c8d35b
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 5, 2010
1 parent 849ceff commit 8c9754a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 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: 580a0bd9b71d8e4e63e0720e64f339c740448c98
refs/heads/master: d7e508880b8f674aa82d3d5d9b2de27c034329a3
6 changes: 3 additions & 3 deletions trunk/drivers/staging/brcm80211/brcmfmac/bcmutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,16 +807,16 @@ int bcm_ether_atoe(char *p, struct ether_addr *ea)
* parameter order is like strncpy, but returns count
* of bytes copied. Minimum bytes copied is null char(1)/wchar(2)
*/
ulong wchar2ascii(char *abuf, ushort * wbuf, ushort wbuflen, ulong abuflen)
ulong wchar2ascii(char *abuf, unsigned short * wbuf, unsigned short wbuflen, ulong abuflen)
{
ulong copyct = 1;
ushort i;
unsigned short i;

if (abuflen == 0)
return 0;

/* wbuflen is in bytes */
wbuflen /= sizeof(ushort);
wbuflen /= sizeof(unsigned short);

for (i = 0; i < wbuflen; ++i) {
if (--abuflen == 0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/include/bcmutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ extern "C" {
extern char *BCMROMFN(bcmstrcat) (char *dest, const char *src);
extern char *BCMROMFN(bcmstrncat) (char *dest, const char *src,
uint size);
extern ulong wchar2ascii(char *abuf, ushort *wbuf, ushort wbuflen,
extern ulong wchar2ascii(char *abuf, unsigned short *wbuf, unsigned short wbuflen,
ulong abuflen);
char *bcmstrtok(char **string, const char *delimiters, char *tokdelim);
int bcmstricmp(const char *s1, const char *s2);
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/brcm80211/include/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ typedef unsigned long long int uintptr;
#endif

#define TYPEDEF_UINT
#define TYPEDEF_USHORT
#define TYPEDEF_ULONG

/*
Expand All @@ -40,10 +39,6 @@ typedef unsigned long long int uintptr;

/* define ushort, uint, ulong */

#ifndef TYPEDEF_USHORT
typedef unsigned short ushort;
#endif

#ifndef TYPEDEF_UINT
typedef unsigned int uint;
#endif
Expand Down Expand Up @@ -94,7 +89,6 @@ typedef signed int int32;

#define AUTO (-1) /* Auto = -1 */

#undef TYPEDEF_USHORT
#undef TYPEDEF_UINT
#undef TYPEDEF_ULONG
#undef TYPEDEF_UINT16
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/include/wlioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ typedef struct wl_wsec_key {

/* receptacle for WLC_SET_WSEC_PMK parameter */
typedef struct {
ushort key_len; /* octets in key material */
ushort flags; /* key handling qualification */
unsigned short key_len; /* octets in key material */
unsigned short flags; /* key handling qualification */
u8 key[WSEC_MAX_PSK_LEN]; /* PMK material */
} wsec_pmk_t;

Expand Down

0 comments on commit 8c9754a

Please sign in to comment.