diff options
Diffstat (limited to 'net/wireless/ibss.c')
-rw-r--r-- | net/wireless/ibss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/ibss.c b/net/wireless/ibss.c index b5c601e1b1b7..3c38afaed28a 100644 --- a/net/wireless/ibss.c +++ b/net/wireless/ibss.c | |||
@@ -116,6 +116,9 @@ static int cfg80211_ibss_wext_join(struct cfg80211_registered_device *rdev, | |||
116 | enum ieee80211_band band; | 116 | enum ieee80211_band band; |
117 | int i; | 117 | int i; |
118 | 118 | ||
119 | if (!wdev->wext.beacon_interval) | ||
120 | wdev->wext.beacon_interval = 100; | ||
121 | |||
119 | /* try to find an IBSS channel if none requested ... */ | 122 | /* try to find an IBSS channel if none requested ... */ |
120 | if (!wdev->wext.channel) { | 123 | if (!wdev->wext.channel) { |
121 | for (band = 0; band < IEEE80211_NUM_BANDS; band++) { | 124 | for (band = 0; band < IEEE80211_NUM_BANDS; band++) { |