commit | 82f20856304319d5a931846e0269eb911d52a905 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Dec 04 12:49:16 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jan 03 13:01:19 2013 +0100 |
tree | 6a1e7e837f3d26ea40f1f73ac72ea979c9e85665 | |
parent | 8a57fff0c178febbe28669a0ef68a8e3460a7589 [diff] |
regulatory: don't allocate too much memory There's no need to allocate one reg rule more than will be used, reduce the allocations. The allocation in nl80211 already doesn't allocate too much space. Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>