]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't fail completely if led mode is not supported
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 12 Mar 2014 07:36:41 +0000 (09:36 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Mar 2014 06:59:05 +0000 (08:59 +0200)
commit4ecb57ccda5150dc29fcd029936bf87a733c8034
tree5a626a8bccd321be8f0f693e8afa7a0f2e36d642
parent461fd2d37d02f432e6a1ea2ef30d39a9a7a5f21c
iwlwifi: mvm: don't fail completely if led mode is not supported

Blink led mode is not supported by iwlmvm. This doesn't mean
that we should prevent any operation if it is selected by
the user.
Instead of failing without any notice to the user, fallback
to the default mode (RF mode) if the blink mode
is selected and print an error to inform the user.

Reported-by: Steven Haigh <netwiz@crc.id.au>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/led.c