]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: return ucode errors from station management
authorJohannes Berg <johannes.berg@intel.com>
Mon, 14 Jun 2010 15:32:38 +0000 (08:32 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 21 Jun 2010 17:46:50 +0000 (10:46 -0700)
commit894e803db0783e37650e7224289ad6df78af61ab
tree8210793c1f5448c6b4be8941ebc41353f2d725cc
parent4cebdba2aa5b5df70b3df940e326bdb3c708da7f
iwlwifi: return ucode errors from station management

When station management calls to ucode return
an error we could previously do nothing, but
now that almost all calls are synchronous we
can actually let the error bubble up. Use EIO
as the error as it best indicates a problem
with the device.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-sta.c