Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278647
b: refs/heads/master
c: 6840e37
h: refs/heads/master
i:
  278645: 767b47c
  278643: 074728e
  278639: 39692b4
v: v3
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Oct 7, 2011
1 parent 84fde7c commit 32ed928
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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: bddb29b83a9874fda21c34abe7627cbf14fec10e
refs/heads/master: 6840e37aec6fd9ffa5b4cf62674af55afdb565ed
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ static int wl1271_join(struct wl1271 *wl, struct wl12xx_vif *wlvif,
if (ret < 0)
goto out;

ret = wl1271_acx_aid(wl, wl->aid);
ret = wl1271_acx_aid(wl, wlvif->aid);
if (ret < 0)
goto out;

Expand Down Expand Up @@ -3487,7 +3487,7 @@ static void wl1271_bss_info_changed_sta(struct wl1271 *wl,
if (bss_conf->assoc) {
u32 rates;
int ieoffset;
wl->aid = bss_conf->aid;
wlvif->aid = bss_conf->aid;
set_assoc = true;

wl->ps_poll_failures = 0;
Expand Down Expand Up @@ -3518,7 +3518,7 @@ static void wl1271_bss_info_changed_sta(struct wl1271 *wl,
* updates it by itself when the first beacon is
* received after a join.
*/
ret = wl1271_cmd_build_ps_poll(wl, wlvif, wl->aid);
ret = wl1271_cmd_build_ps_poll(wl, wlvif, wlvif->aid);
if (ret < 0)
goto out;

Expand All @@ -3544,7 +3544,7 @@ static void wl1271_bss_info_changed_sta(struct wl1271 *wl,
bool was_ifup =
!!test_and_clear_bit(WL1271_FLAG_STA_STATE_SENT,
&wl->flags);
wl->aid = 0;
wlvif->aid = 0;

/* free probe-request template */
dev_kfree_skb(wlvif->probereq);
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/wl12xx/wl12xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,6 @@ struct wl1271 {

bool sched_scanning;

/* Our association ID */
u16 aid;

u32 bitrate_masks[IEEE80211_NUM_BANDS];

/* The current band */
Expand Down Expand Up @@ -641,6 +638,9 @@ struct wl12xx_vif {

/* probe-req template for the current AP */
struct sk_buff *probereq;

/* Our association ID */
u16 aid;
};

static inline struct wl12xx_vif *wl12xx_vif_to_data(struct ieee80211_vif *vif)
Expand Down

0 comments on commit 32ed928

Please sign in to comment.