summaryrefslogtreecommitdiff
path: root/mac80211.h
blob: bae28b1a982af63dd5f512567a5a2efd1f4cfc93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MAC80211_H
#define MAC80211_H

#include "config.h"
#include "die.h"

#ifdef HAVE_LIBNL
extern void enter_rfmon_mac80211(const char *device, char **mondev);
extern void leave_rfmon_mac80211(const char *mondev);
#else
static inline void enter_rfmon_mac80211(const char *device, char **mondev)
{
    panic("No built-in libnl support!\n");
}

static inline void leave_rfmon_mac80211(const char *mondev)
{
}
#endif /* HAVE_LIBNL */

#endif /* MAC80211_H */
emode:
authorAzael Avalos <coproscefalo@gmail.com>2016-08-29 09:37:34 -0600
committerDarren Hart <dvhart@linux.intel.com>2016-08-31 17:32:54 -0700
commit78429e55e4057bdd0fbc6f969a669336f7be249e (patch)
treebed0159ffcbcb87bcbe27c881214f7bbd1e76d3a /Documentation/mmc/mmc-tools.txt
parent694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff)
platform/x86: toshiba_acpi: Clean up variable declaration
This patch moves all the multiple line variable declaration to a single line declaration (except variables being initialized) following the reverse tree order, to conform to the practices of the kernel. [dvhart: corrected a couple minor inconsistencies in declaration ordering] Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'Documentation/mmc/mmc-tools.txt')