Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267403
b: refs/heads/master
c: 786d00f
h: refs/heads/master
i:
  267401: 7307072
  267399: 335c882
v: v3
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent fc9891e commit 371343a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 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: fa67ebba7ed550685b5ed12d6f22100081e54ca6
refs/heads/master: 786d00f7a0d744d55a211dc0c1f701c2c4e3d6bd
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ brcmf_cfg80211_set_bitrate_mask(struct wiphy *wiphy, struct net_device *dev,
const u8 *addr,
const struct cfg80211_bitrate_mask *mask)
{
struct wl_rateset rateset;
struct brcm_rateset rateset;
s32 rate;
s32 val;
s32 err_bg;
Expand Down
7 changes: 4 additions & 3 deletions trunk/drivers/staging/brcm80211/brcmsmac/mac80211_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ static int __devinit brcms_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent);
static void brcms_remove(struct pci_dev *pdev);
static void brcms_free(struct brcms_info *wl);
static void brcms_set_basic_rate(struct wl_rateset *rs, u16 rate, bool is_br);
static void brcms_set_basic_rate(struct brcm_rateset *rs, u16 rate,
bool is_br);

MODULE_AUTHOR("Broadcom Corporation");
MODULE_DESCRIPTION("Broadcom 802.11n wireless LAN driver.");
Expand Down Expand Up @@ -377,7 +378,7 @@ brcms_ops_bss_info_changed(struct ieee80211_hw *hw,
struct ieee80211_supported_band *bi;
u32 br_mask, i;
u16 rate;
struct wl_rateset rs;
struct brcm_rateset rs;
int error;

/* retrieve the current rates */
Expand Down Expand Up @@ -1374,7 +1375,7 @@ static void brcms_free(struct brcms_info *wl)
}

/* flags the given rate in rateset as requested */
static void brcms_set_basic_rate(struct wl_rateset *rs, u16 rate, bool is_br)
static void brcms_set_basic_rate(struct brcm_rateset *rs, u16 rate, bool is_br)
{
u32 i;

Expand Down
6 changes: 4 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6134,7 +6134,8 @@ _brcms_c_ioctl(struct brcms_c_info *wlc, int cmd, void *arg, int len,
break;

case BRCM_GET_CURR_RATESET:{
wl_rateset_t *ret_rs = (wl_rateset_t *) arg;
struct brcm_rateset *ret_rs =
(struct brcm_rateset *) arg;
struct brcms_c_rateset *rs;

if (wlc->pub->associated)
Expand All @@ -6155,7 +6156,8 @@ _brcms_c_ioctl(struct brcms_c_info *wlc, int cmd, void *arg, int len,

case BRCM_SET_RATESET:{
struct brcms_c_rateset rs;
wl_rateset_t *in_rs = (wl_rateset_t *) arg;
struct brcm_rateset *in_rs =
(struct brcm_rateset *) arg;

if (len < (int)(in_rs->count + sizeof(in_rs->count))) {
bcmerror = -EOVERFLOW;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/include/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@

#define WL_NUMRATES 16 /* max # of rates in a rateset */

typedef struct wl_rateset {
struct brcm_rateset {
u32 count; /* # rates in this set */
u8 rates[WL_NUMRATES]; /* rates in 500kbps units w/hi bit set if basic */
} wl_rateset_t;
};

#define BRCM_CNTRY_BUF_SZ 4 /* Country string is 3 bytes + NUL */

Expand Down

0 comments on commit 371343a

Please sign in to comment.