Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265688
b: refs/heads/master
c: 9533b4a
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Aug 26, 2011
1 parent 9511406 commit 4a2135d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c75786c9ef9e726dc139325a775e90a684b00ed7
refs/heads/master: 9533b4ac86e20656d95f25e536c81c994e5f57a6
2 changes: 2 additions & 0 deletions trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,8 @@ struct ieee80211_sta {
u16 aid;
struct ieee80211_sta_ht_cap ht_cap;
bool wme;
u8 uapsd_queues;
u8 max_sp;

/* must be last */
u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
Expand Down
3 changes: 3 additions & 0 deletions trunk/net/mac80211/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ static void sta_apply_parameters(struct ieee80211_local *local,
}
spin_unlock_irqrestore(&sta->flaglock, flags);

sta->sta.uapsd_queues = params->uapsd_queues;
sta->sta.max_sp = params->max_sp;

/*
* cfg80211 validates this (1-2007) and allows setting the AID
* only when creating a new station entry
Expand Down

0 comments on commit 4a2135d

Please sign in to comment.