summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2013-01-24 00:18:12 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-01-24 19:03:34 +0400
commit296fcba3ba1b8888aa8f5211de1e25a78b47aeee (patch)
treea8bb05498d62558513074cd6ded9975f2f2a5043 /drivers/devfreq
parentd437c86baacf265a640dfc462c75941d02c0e153 (diff)
downloadlinux-296fcba3ba1b8888aa8f5211de1e25a78b47aeee.tar.xz
mac80211: clean up mesh sta allocation warning
This refactoring fixes a "scheduling while atomic" warning when allocating a mesh station entry while holding the RCU read lock. Fix this by creating a new function mesh_sta_info_get(), which correctly handles the locking and returns under RCU. Also move some unnecessarily #ifdefed mesh station init code from sta_info_alloc() to __mesh_sta_info_alloc(). Signed-off-by: Thomas Pedersen <thomas@cozybit.com> [change code flow to make sparse happy] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions