Wifi-HAL: Avoid illegal memory access in wifi_set_packet_filter fn.

In requestResponse(), nl message is getting freed after receiving
a response for the nl message, and wifi_hal is trying to fill the same
message again in wifi_set_packet_filter() for next fragment of
data. This is causing an invalid memory access. To avoid this,
destroy the object after sending each fragment to driver and
allocate a fresh object which in turn creates nl message and
initializes it.

Change-Id: I5a7d352bd93d6cbd66667ff70c73803aa45d96d1
CRs-Fixed: 984287
1 file changed
tree: bf8943d597e145a422d3e464e579816abfcd88d2
  1. qcwcn/
  2. wcnss-service/