Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: fix misplaced while instead of if
commit 5981fe5 upstream. This never was intended to be a 'while' loop, it should've just been an 'if' instead of 'while'. Fix this. I noticed this while applying another patch from Ben that intended to fix a busy loop at this spot. Cc: [email protected] Fixes: b16798f ("mac80211: mark station unauthorized before key removal") Reported-by: Ben Greear <[email protected]> Link: https://lore.kernel.org/r/20200803110209.253009ae41ff.I3522aad099392b31d5cf2dcca34cbac7e5832dde@changeid Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information