]> git.karo-electronics.de Git - linux-beck.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)
commit73810b77def898b43a97638478692922b7f820eb
tree810265ca6e32467be67f0c6e0d50f18cfe212889
parent9f419f3851041e0c8170629f0639813dbfc79d5e
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