1 --- a/src/drivers/drivers.mak
2 +++ b/src/drivers/drivers.mak
3 @@ -34,7 +34,6 @@ NEED_SME=y
11 @@ -116,7 +115,6 @@ DRV_WPA_CFLAGS += -DCONFIG_DRIVER_WEXT
12 CONFIG_WIRELESS_EXTENSION=y
18 ifdef CONFIG_DRIVER_NDIS
19 @@ -142,7 +140,6 @@ endif
20 ifdef CONFIG_WIRELESS_EXTENSION
21 DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
22 DRV_WPA_OBJS += ../src/drivers/driver_wext.o
27 @@ -155,6 +152,7 @@ endif
30 DRV_OBJS += ../src/drivers/rfkill.o
31 +DRV_WPA_CFLAGS += -DCONFIG_RFKILL
34 ifdef CONFIG_VLAN_NETLINK
35 --- a/src/drivers/rfkill.h
36 +++ b/src/drivers/rfkill.h
37 @@ -18,8 +18,24 @@ struct rfkill_config {
38 void (*unblocked_cb)(void *ctx);
42 struct rfkill_data * rfkill_init(struct rfkill_config *cfg);
43 void rfkill_deinit(struct rfkill_data *rfkill);
44 int rfkill_is_blocked(struct rfkill_data *rfkill);
46 +static inline struct rfkill_data * rfkill_init(struct rfkill_config *cfg)
51 +static inline void rfkill_deinit(struct rfkill_data *rfkill)
55 +static inline int rfkill_is_blocked(struct rfkill_data *rfkill)