aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-08-22 13:20:34 +0100
committerJohannes Berg <johannes.berg@intel.com>2019-08-22 21:58:18 +0200
commitb26af9304467d8e7844397e702b51a4bdc74bedd (patch)
tree1ddae8810ccb994d69d581c6fb9e6f456a9b03c0 /net/wireless
parentnexthops: remove redundant assignment to variable err (diff)
downloadlinux-dev-b26af9304467d8e7844397e702b51a4bdc74bedd.tar.xz
linux-dev-b26af9304467d8e7844397e702b51a4bdc74bedd.zip
mac80211: minstrel_ht: fix infinite loop because supported is not being shifted
Currently the for-loop will spin forever if variable supported is non-zero because supported is never changed. Fix this by adding in the missing right shift of supported. Addresses-Coverity: ("Infinite loop") Fixes: 48cb39522a9d ("mac80211: minstrel_ht: improve rate probing for devices with static fallback") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190822122034.28664-1-colin.king@canonical.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions