Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102955
b: refs/heads/master
c: dc0ae30
h: refs/heads/master
i:
  102953: 9a6a307
  102951: 16a3538
v: v3
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Jun 14, 2008
1 parent 633f6b9 commit 10244a0
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 5720508d9ad9a82927875252b7a19ba2b45f11f8
refs/heads/master: dc0ae30c31ee6ef83992bb692f37dfbba08a2ef6
3 changes: 2 additions & 1 deletion trunk/net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,8 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)

debugfs_hw_add(local);

local->hw.conf.beacon_int = 1000;
if (local->hw.conf.beacon_int < 10)
local->hw.conf.beacon_int = 100;

local->wstats_flags |= local->hw.flags & (IEEE80211_HW_SIGNAL_UNSPEC |
IEEE80211_HW_SIGNAL_DB |
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -3583,7 +3583,7 @@ static int ieee80211_sta_create_ibss(struct net_device *dev,
sband = local->hw.wiphy->bands[bss->band];

if (local->hw.conf.beacon_int == 0)
local->hw.conf.beacon_int = 10000;
local->hw.conf.beacon_int = 100;
bss->beacon_int = local->hw.conf.beacon_int;
bss->last_update = jiffies;
bss->capability = WLAN_CAPABILITY_IBSS;
Expand Down

0 comments on commit 10244a0

Please sign in to comment.