wl1271: Update beacon interval properly for ad-hoc
Configure the hardware beacon interval to whatever requested by the mac80211. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
5da11dcde3
commit
60e84c2ebb
@@ -323,7 +323,7 @@ int wl1271_cmd_join(struct wl1271 *wl, u8 bss_type)
|
||||
CONF_HW_BIT_RATE_24MBPS);
|
||||
}
|
||||
|
||||
join->beacon_interval = cpu_to_le16(WL1271_DEFAULT_BEACON_INT);
|
||||
join->beacon_interval = cpu_to_le16(wl->beacon_int);
|
||||
join->dtim_interval = WL1271_DEFAULT_DTIM_PERIOD;
|
||||
|
||||
join->channel = wl->channel;
|
||||
|
Reference in New Issue
Block a user