]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
wcn36xx: don't pad beacons for mesh
authorJason Mobarak <jam@cozybit.com>
Tue, 11 Mar 2014 22:49:01 +0000 (15:49 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 14 Mar 2018 02:42:09 +0000 (02:42 +0000)
commit5f357d6c66e3a2938d39c3d9a85d247d17fde2f0
tree31eda470b4e5908dc26825773df1b7593d30ce35
parentf4500837e8d0f20fbb33d0f9b301fd37a546665d
wcn36xx: don't pad beacons for mesh

Patch "wcn36xx: Pad TIM PVM if needed" has caused a regression in mesh
beaconing.  The field tim_off is always 0 for mesh mode, and thus
pvm_len (referring to the TIM length field) and pad are both incorrectly
calculated.  Thus, msg_body.beacon_length is incorrectly calculated for
mesh mode. Fix this.

Signed-off-by: Jason Mobarak <jam@cozybit.com>
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@cozybit.com>
drivers/net/wireless/ath/wcn36xx/smd.c