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)
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>

No differences found