]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: compute chanctx refcount on-the-fly
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 9 Apr 2014 13:29:33 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:08:30 +0000 (17:08 +0200)
commit3a6fbc1766f31b0b179294fcc95f980c4b4e97db
tree1c69b543bd332271501967f9913e0d65d92b6583
parent8aa5f531409792f142daa9b9aac9bebf03f6b02b
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>
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c