staging: rtl8723au: rtw_add_beacon(): Construct a full beacon frame for validation
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 24 Jun 2014 13:03:20 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2014 17:50:58 +0000 (13:50 -0400)
commitfb5fd46dbdd32faecd5f826f2d47e798732b7b4d
tree7481cac0ace824538fee5b66293ff14c98f37477
parent1d33b0766385957c0e70ff32ec501d1f775c8316
staging: rtl8723au: rtw_add_beacon(): Construct a full beacon frame for validation

Clean up and correct the beacon frame validation using a full beacon
frame, and pass that to rtw_check_beacon_data23a(). Previous we went
through hoops to construct the frame, minus the ieee80211_3addr header
which just made it more complicated, and resulted in inconsistencies
and bugs.

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