Search Linux Wireless

[PATCH 1/2] compat-wireless: change number of patch:

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

 



37-vsnprintk.patch also uses the number 37, so one of them has to be renamed.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/37-led-max-brightness.patch |   24 ------------------------
 patches/38-led-max-brightness.patch |   24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 24 deletions(-)
 delete mode 100644 patches/37-led-max-brightness.patch
 create mode 100644 patches/38-led-max-brightness.patch

diff --git a/patches/37-led-max-brightness.patch b/patches/37-led-max-brightness.patch
deleted file mode 100644
index ca62ca9..0000000
--- a/patches/37-led-max-brightness.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/drivers/net/wireless/iwlegacy/iwl-led.c
-+++ b/drivers/net/wireless/iwlegacy/iwl-led.c
-@@ -149,7 +149,9 @@ void iwl_legacy_leds_init(struct iwl_pri
- 				   wiphy_name(priv->hw->wiphy));
- 	priv->led.brightness_set = iwl_legacy_led_brightness_set;
- 	priv->led.blink_set = iwl_legacy_led_blink_set;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
- 	priv->led.max_brightness = 1;
-+#endif
- 
- 	switch (mode) {
- 	case IWL_LED_DEFAULT:
---- a/drivers/net/wireless/iwlwifi/iwl-led.c
-+++ b/drivers/net/wireless/iwlwifi/iwl-led.c
-@@ -149,7 +149,9 @@ void iwl_leds_init(struct iwl_priv *priv
- 				   wiphy_name(priv->hw->wiphy));
- 	priv->led.brightness_set = iwl_led_brightness_set;
- 	priv->led.blink_set = iwl_led_blink_set;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
- 	priv->led.max_brightness = 1;
-+#endif
- 
- 	switch (mode) {
- 	case IWL_LED_DEFAULT:
diff --git a/patches/38-led-max-brightness.patch b/patches/38-led-max-brightness.patch
new file mode 100644
index 0000000..ca62ca9
--- /dev/null
+++ b/patches/38-led-max-brightness.patch
@@ -0,0 +1,24 @@
+--- a/drivers/net/wireless/iwlegacy/iwl-led.c
++++ b/drivers/net/wireless/iwlegacy/iwl-led.c
+@@ -149,7 +149,9 @@ void iwl_legacy_leds_init(struct iwl_pri
+ 				   wiphy_name(priv->hw->wiphy));
+ 	priv->led.brightness_set = iwl_legacy_led_brightness_set;
+ 	priv->led.blink_set = iwl_legacy_led_blink_set;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
+ 	priv->led.max_brightness = 1;
++#endif
+ 
+ 	switch (mode) {
+ 	case IWL_LED_DEFAULT:
+--- a/drivers/net/wireless/iwlwifi/iwl-led.c
++++ b/drivers/net/wireless/iwlwifi/iwl-led.c
+@@ -149,7 +149,9 @@ void iwl_leds_init(struct iwl_priv *priv
+ 				   wiphy_name(priv->hw->wiphy));
+ 	priv->led.brightness_set = iwl_led_brightness_set;
+ 	priv->led.blink_set = iwl_led_blink_set;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
+ 	priv->led.max_brightness = 1;
++#endif
+ 
+ 	switch (mode) {
+ 	case IWL_LED_DEFAULT:
-- 
1.7.1

--
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