commit | 86e8cf98de3e74bbfb0003501e0004bf1e5e2618 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jun 19 10:57:22 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Jun 19 18:55:38 2013 +0200 |
tree | 89713ea44449ff036a5bbc5236357a382e5b0ed2 | |
parent | f93beba705842af466e7c916b39630cacb40e9c6 [diff] |
nl80211: use small state buffer for wiphy_dump Avoid parsing the original dump message again and again by allocating a small state struct that is used by the functions involved in the dump, storing this struct in cb->args[0]. This reduces the memory allocation size as well. Signed-off-by: Johannes Berg <johannes.berg@intel.com>