commit | d34265a3eebe994b3b9a0e4cabbc2dbb8436388b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Oct 15 13:05:55 2015 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Oct 16 09:15:44 2015 +0200 |
tree | c185e722bdda0c7ea9abfdaecb7c1d1e42ab6e2c | |
parent | 480908a7ec5f2d37d5610b7d9bc48a38f2093876 [diff] |
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>