]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: reindent some sched scan code
authorJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2019 11:40:47 +0000 (13:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2019 11:40:47 +0000 (13:40 +0200)
commitaddeb6874e03cd849f414a3f38d67167cd2caba8
tree9098b6d92772182b0b7f2b649adbdf87c627e7a2
parente975bb08390bae41a5f5c9247af2f0c972cdee08
nl80211: reindent some sched scan code

The sched scan code here is really deep - avoid one level
of indentation by short-circuiting the loop instead of
putting everything into the if block.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c