diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/led.c')
| -rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/led.c | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/led.c b/drivers/net/wireless/iwlwifi/mvm/led.c index 2269a9e5cc6..e3b3cf4dbd7 100644 --- a/drivers/net/wireless/iwlwifi/mvm/led.c +++ b/drivers/net/wireless/iwlwifi/mvm/led.c @@ -5,7 +5,7 @@   *   * GPL LICENSE SUMMARY   * - * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved. + * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.   *   * This program is free software; you can redistribute it and/or modify   * it under the terms of version 2 of the GNU General Public License as @@ -30,7 +30,7 @@   *   * BSD LICENSE   * - * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved. + * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.   * All rights reserved.   *   * Redistribution and use in source and binary forms, with or without @@ -94,6 +94,8 @@ int iwl_mvm_leds_init(struct iwl_mvm *mvm)  	int ret;  	switch (mode) { +	case IWL_LED_BLINK: +		IWL_ERR(mvm, "Blink led mode not supported, used default\n");  	case IWL_LED_DEFAULT:  	case IWL_LED_RF_STATE:  		mode = IWL_LED_RF_STATE; @@ -103,7 +105,7 @@ int iwl_mvm_leds_init(struct iwl_mvm *mvm)  		return 0;  	default:  		return -EINVAL; -	}; +	}  	mvm->led.name = kasprintf(GFP_KERNEL, "%s-led",  				   wiphy_name(mvm->hw->wiphy));  | 
