WiFi-HAL: Do not free local frame_content in get()
Wifihal allocates memory for a frame when it receives the
corresponding stat. It gets freed when wifihal receives first
packet of the next connection instance. Framework can query
for the same any number of times. So, wifihal should maintain
the current stats till it gets next connection instance stats.
So, do not free it in get() APIs.
Correct memcpy() length for management frames from
MAX_FRAME_LEN_ETHERNET to MAX_FRAME_LEN_80211_MGMT.
Change-Id: Ia36aac8e049f1be537cd6f3c1e034c1bc202cdeb
CRs-Fixed: 986164
2 files changed