Commit e87c8a35 authored by Jason Mobarak's avatar Jason Mobarak Committed by Bjorn Andersson
Browse files

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: default avatarJason Mobarak <jam@cozybit.com>
Signed-off-by: default avatarChun-Yeow Yeoh <yeohchunyeow@cozybit.com>
parent b30e2b54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment