Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166294
b: refs/heads/master
c: 6a211bf
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Sep 23, 2009
1 parent 48186c9 commit 5437d88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: fe9f6342c86292aee1941447f22dc5470735e5a1
refs/heads/master: 6a211bf1fc63891bfbc510d9caa751c4dee4bc37
4 changes: 2 additions & 2 deletions trunk/net/mac80211/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ ieee80211_bss_info_update(struct ieee80211_local *local,
bss->dtim_period = tim_ie->dtim_period;
}

/* set default value for buggy APs */
if (!elems->tim || bss->dtim_period == 0)
/* set default value for buggy AP/no TIM element */
if (bss->dtim_period == 0)
bss->dtim_period = 1;

bss->supp_rates_len = 0;
Expand Down

0 comments on commit 5437d88

Please sign in to comment.