aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_sysfs.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2013-07-31 12:12:24 -0700
committerJohannes Berg <johannes.berg@intel.com>2013-07-31 21:15:36 +0200
commitb56e4b857c5210e848bfb80e074e5756a36cd523 (patch)
tree1ded456a420f842dbe49e09e91d194d7969f437e /net/bluetooth/hci_sysfs.c
parentc319d50bfcf678c2857038276d9fab3c6646f3bf (diff)
downloadkernel_goldelico_gta04-b56e4b857c5210e848bfb80e074e5756a36cd523.zip
kernel_goldelico_gta04-b56e4b857c5210e848bfb80e074e5756a36cd523.tar.gz
kernel_goldelico_gta04-b56e4b857c5210e848bfb80e074e5756a36cd523.tar.bz2
mac80211: fix infinite loop in ieee80211_determine_chantype
Commit "3d9646d mac80211: fix channel selection bug" introduced a possible infinite loop by moving the out target above the chandef_downgrade while loop. When we downgrade to NL80211_CHAN_WIDTH_20_NOHT, we jump back up to re-run the while loop...indefinitely. Replace goto with break and carry on. This may not be sufficient to connect to the AP, but will at least keep the cpu from livelocking. Thanks to Derek Atkins as an extra pair of debugging eyes. Cc: stable@kernel.org Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
0 files changed, 0 insertions, 0 deletions