commit | c0166da9fee2aa8de9d1f9460f62d02176c22350 | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Wed Apr 09 15:29:33 2014 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Apr 25 17:08:30 2014 +0200 |
tree | 1c69b543bd332271501967f9913e0d65d92b6583 | |
parent | 2b32713d72c093889fe20642f6a8bc42083267d2 [diff] |
mac80211: compute chanctx refcount on-the-fly It doesn't make much sense to store refcount in the chanctx structure. One still needs to hold chanctx_mtx to get the value safely. Besides, refcount isn't on performance critical paths. This will make implementing chanctx reservation refcounting a little easier. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>