OSDN Git Service

iwlagn: simplify WEP key check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Mar 2010 09:44:16 +0000 (02:44 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 9 Apr 2010 18:27:53 +0000 (11:27 -0700)
commita90178fa1dce52816ae9fa4a3ba031886b79c5ae
treeedff458376981b310aa645b14dce3ba407bf4c8d
parent43a61261d7f571f760611711cd4e6b64ef661ad1
iwlagn: simplify WEP key check

Simplify the WEP group key check by checking the
sta pointer instead of the sta_id we calculate
with it; also clean up the comment formatting.

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