staging: rtl8723au: collect_bss_info23a(): Collect beacon_interval correct
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 31 May 2014 16:05:18 +0000 (18:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 19:35:41 +0000 (12:35 -0700)
commit5b124b1aa2979b1319d6434464c318ef0111ceb4
treed7d7fbdf2210d2dcd6ea970fc0647569c7fbbc56
parent7882ef454c613c8e79700ca1c81274357e1286ff
staging: rtl8723au: collect_bss_info23a(): Collect beacon_interval correct

Only retrieve beacon_interval from frames where it is present. This
avoids setting BeaconPeriod to garbage for other frame types.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c