Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290335
b: refs/heads/master
c: 71ec375
h: refs/heads/master
i:
  290333: 15cef0e
  290331: be2091e
  290327: a01b488
  290319: 795d7ee
  290303: 64926f3
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Feb 6, 2012
1 parent 282594d commit 4e9bd39
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 89c91caeccf45bbeb86104445125fe1eaec12079
refs/heads/master: 71ec375c75095002f36f083ceb32bbb8725734ae
2 changes: 2 additions & 0 deletions trunk/net/mac80211/sta_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
sta->sdata = sdata;
sta->last_rx = jiffies;

sta->sta_state = IEEE80211_STA_NONE;

do_posix_clock_monotonic_gettime(&uptime);
sta->last_connected = uptime.tv_sec;
ewma_init(&sta->avg_signal, 1024, 8);
Expand Down
1 change: 1 addition & 0 deletions trunk/net/mac80211/sta_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ enum ieee80211_sta_info_flags {

enum ieee80211_sta_state {
/* NOTE: These need to be ordered correctly! */
IEEE80211_STA_NOTEXIST,
IEEE80211_STA_NONE,
IEEE80211_STA_AUTH,
IEEE80211_STA_ASSOC,
Expand Down

0 comments on commit 4e9bd39

Please sign in to comment.