Skip to content
Commit 1d5e1266 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: simplify roc check in idle calculation



There's no need to start iterating the list only to break on the
first item, just use !list_empty() and also simplify the whole
conditional into a single expression.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 361c3e04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment