qcacmn: Fix tlv formation of Peer assoc wmi command
Fix TLV header length calculation and pass peer mac address in wmi peer assoc command. Change-Id: I025ad7564901cba583bd78bddf0ccfa5e894c751 CRs-Fixed: 987362
This commit is contained in:
@@ -641,4 +641,15 @@ struct wmi_unified {
|
||||
};
|
||||
struct wmi_ops *wmi_get_tlv_ops(void);
|
||||
struct wmi_ops *wmi_get_non_tlv_ops(void);
|
||||
|
||||
/**
|
||||
* wmi_align() - provides word aligned parameter
|
||||
* @param: parameter to be aligned
|
||||
*
|
||||
* Return: word aligned parameter
|
||||
*/
|
||||
static inline uint32_t wmi_align(uint32_t param)
|
||||
{
|
||||
return roundup(param, sizeof(uint32_t));
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user