diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2020-08-03 11:02:10 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:53:05 +0200 |
| commit | 0e69dff673edf0812e3c4a173b38797927b48e24 (patch) | |
| tree | 4bcdfd71632a2e9a6dfde03436776d372026fc12 /arch/mips/kernel/topology.c | |
| parent | 513b538d748ab85d333c3ac12094818737c4bc4a (diff) | |
mac80211: fix misplaced while instead of if
commit 5981fe5b0529ba25d95f37d7faa434183ad618c5 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: stable@vger.kernel.org
Fixes: b16798f5b907 ("mac80211: mark station unauthorized before key removal")
Reported-by: Ben Greear <greearb@candelatech.com>
Link: https://lore.kernel.org/r/20200803110209.253009ae41ff.I3522aad099392b31d5cf2dcca34cbac7e5832dde@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/kernel/topology.c')
0 files changed, 0 insertions, 0 deletions
