mac80211: add missing "break" statement in mesh code
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 25 Feb 2008 09:11:50 +0000 (10:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Mar 2008 20:30:43 +0000 (15:30 -0500)
commitff59dc76e6e996092e4e11f4a6a370702428ead5
tree438af93a51f1276171530c64a569376d0fba1ecf
parent2f5ce793c0817d8d38f1c7ad23945607d57e47d6
mac80211: add missing "break" statement in mesh code

This inserts a missing break statement which, if hit, would cause
the code to fall-through and unlock a spinlock twice. Noticed via
sparse's "lock count wrong in basic block" warning and careful
code inspection.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_plink.c