]> 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)
commit72ead266fd5f958cb6c8c593842031a89aa7f00c
tree9098b6d92772182b0b7f2b649adbdf87c627e7a2
parent48d2c5400e3f62a1d66ffb656a665a47c7e8d27d
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