aboutsummaryrefslogtreecommitdiff
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorGravatar Arend Van Spriel <arend.vanspriel@broadcom.com> 2016-10-20 20:08:22 +0100
committerGravatar Johannes Berg <johannes.berg@intel.com> 2016-10-27 09:08:44 +0200
commit73c7da3dae1e7cd8febeab13767b2698b84dfa15 (patch)
tree257a9c5d23be6099b557eb8a829908cb33758060 /net/wireless/util.c
parentwireless: deprecate WDS and disable by default (diff)
downloadlinux-73c7da3dae1e7cd8febeab13767b2698b84dfa15.tar.gz
linux-73c7da3dae1e7cd8febeab13767b2698b84dfa15.tar.bz2
linux-73c7da3dae1e7cd8febeab13767b2698b84dfa15.zip
cfg80211: add generic helper to check interface is running
Add a helper using wdev to check if interface is running. This deals with both non-netdev and netdev interfaces. In struct wireless_dev replace 'p2p_started' and 'nan_started' by 'is_running' as those are mutually exclusive anyway, and unify all the code to use wdev_running(). Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions