nl80211: use small state buffer for wiphy_dump
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Jun 2013 08:57:22 +0000 (10:57 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Jun 2013 16:55:38 +0000 (18:55 +0200)
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>

No differences found