Search Linux Wireless

Re: KEY_RFKILL not found on kernel 2.6.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-03-04 at 15:58 +1100, Keith Bannister wrote:

> /home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:219:
> error: ‘KEY_RFKILL’ undeclared (first use in this function)

The same happens on Linux 2.6.26.  I've just sent a patch for that.
Sorry, I should have credited you as the original reporter.

> Any Ideas?

Please apply this patch to compat-wireless:

diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h
index 9559f21..70e5f98 100644
--- a/include/linux/compat-2.6.33.h
+++ b/include/linux/compat-2.6.33.h
@@ -49,6 +49,8 @@ static inline void compat_release_firmware(const struct firmware *fw)
 }
 #endif
 
+#define KEY_RFKILL		247	/* Key that controls all radios */
+
 #define IFF_DONT_BRIDGE 0x800		/* disallow bridging this ether dev */
 /* source: include/linux/if.h */
 

-- 
Regards,
Pavel Roskin
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux