]> bbs.cooldavid.org Git - net-next-2.6.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)
commit09034cb77ec8530728dd672db7580faeaa29df10
tree8210793c1f5448c6b4be8941ebc41353f2d725cc
parente666674eec98752d82388ae009e9039a62e744e7
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