qcacld-3.0: fill vdev and pattern id for CoAP offload reply enable request
Pattern id and vdev id are not filled explicitly for CoAP offload reply enable request, which will cause failure when the ids are not 0. To fix it, fill the vdev id and pattern id accordingly. Change-Id: I74b4b26d08e48e9d08d041293cff6f4ab92272e1 CRs-Fixed: 3310734
This commit is contained in:

committed by
Madan Koyyalamudi

parent
14695a59d6
commit
ad3a8266f9
@@ -188,6 +188,8 @@ wlan_cfg80211_coap_offload_reply_enable(struct wlan_objmgr_vdev *vdev,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
params.pattern_id = req_id;
|
||||
params.vdev_id = wlan_vdev_get_id(vdev);
|
||||
params.src_ip_v4 = nla_get_u32(attr);
|
||||
|
||||
attr = tb[COAP_ATTR(REPLY_FILTER)];
|
||||
|
Reference in New Issue
Block a user