Messages in this thread | | | Subject | Re: [PATCH][next] mac80211: minstrel_ht: fix infinite loop because supported is not being shifted | From | Felix Fietkau <> | Date | Fri, 23 Aug 2019 13:07:37 +0200 |
| |
On 2019-08-22 14:20, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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> Acked-by: Felix Fietkau <nbd@nbd.name>
Thanks,
- Felix
| |