diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-10-15 13:05:55 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-10-16 09:15:44 +0200 |
commit | d34265a3eebe994b3b9a0e4cabbc2dbb8436388b (patch) | |
tree | c185e722bdda0c7ea9abfdaecb7c1d1e42ab6e2c /lib/cpumask.c | |
parent | 480908a7ec5f2d37d5610b7d9bc48a38f2093876 (diff) | |
download | linux-d34265a3eebe994b3b9a0e4cabbc2dbb8436388b.tar.bz2 |
cfg80211: reg: centralize freeing ignored requests
Instead of having a lot of places that free ignored requests
and then return REG_REQ_OK, make reg_process_hint() process
REG_REQ_IGNORE by freeing the request, and let functions it
calls return that instead of freeing.
This also fixes a leak when a second (different) country IE
hint was ignored.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions