]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: use atomic_t for wiphy counter
authorJohannes Berg <johannes.berg@intel.com>
Wed, 8 May 2013 19:49:02 +0000 (21:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 May 2013 22:02:13 +0000 (00:02 +0200)
commitcf2643913d648088282a7192c671ba5b50d7b61d
tree810265ca6e32467be67f0c6e0d50f18cfe212889
parent030dd64c9d420d69c936da38d860dc30e92aff4b
cfg80211: use atomic_t for wiphy counter

There's no need to lock, we can just use an atomic_t.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c