mac80211_hwsim: fix wmediumd_pid
authorJohannes Berg <johannes.berg@intel.com>
Wed, 7 Dec 2011 11:35:17 +0000 (12:35 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Dec 2011 14:30:42 +0000 (09:30 -0500)
commita1910f9cad2b4b9cc0d5d326aa65632a23c16088
treedcc927cc74dfd8918ee2324a98002b961c4a30cd
parent1b2538b2ab8f37e55b91b3cce98d2df5c126125d
mac80211_hwsim: fix wmediumd_pid

Fix a few minor issues with wmediumd_pid:
a) make static
b) use u32 to match the snd_pid type
c) use ACCESS_ONCE since we don't lock it
d) don't explicitly initialize to 0

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c