]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 26 Jan 2016 02:17:55 +0000 (18:17 -0800)
commite87c8a353f4daa8e830b4b7714542d934b80f9be
treebb59bdc7932931c834153e6db818913f574e2391
parentb30e2b54bfa8f845ed84d0bd9d304d2589a5c645
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