Fix use-after-free in qca_nl80211_get_features

Any data accessible from nla_data is freed before the
send_and_recv_msgs function returns, therefore we need to allocate
space for info.flags ourselves.

BUG=29237626

Change-Id: I622d1c624cce785ca7ed76f5c0ea8c5011c9be45
1 file changed