From 81a9bbc3a9c2bbfbef3ab0423bc65c2ac71f844c Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 10 Jun 2011 00:04:46 +0200 Subject: [PATCH] compat: add KEY_WPS_BUTTON This is needed for carl9170. Add to compat-3.0-stable --- include/linux/compat-2.6.34.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-2.6.34.h b/include/linux/compat-2.6.34.h index 663a67e8e1a2..9743d6c1fde0 100644 --- a/include/linux/compat-2.6.34.h +++ b/include/linux/compat-2.6.34.h @@ -251,6 +251,8 @@ static inline int usb_disable_autosuspend(struct usb_device *udev) #define rcu_dereference_raw(p) rcu_dereference(p) +#define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */ + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */ #endif /* LINUX_26_34_COMPAT_H */ -- 2.30.2