]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: fix iwl_mac_set_key and iwl3945_mac_set_key
authorWinkler, Tomas <tomas.winkler@intel.com>
Mon, 19 Jan 2009 23:30:22 +0000 (15:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:54 +0000 (16:00 -0500)
commit42986796409a6293351207150edb7b4689b6013d
tree5c920d2dac0a90a179dff34301ce5c6f59a49a45
parent5cd19c5f15f4bd3354cc7f8f8b1125018a84a25c
iwlwifi: fix iwl_mac_set_key and iwl3945_mac_set_key

This patch fix iwl_mac_set_key function changed in patch
"mac80211: clean up set_key callback"

1. removing 'static' const u8 *addr' that can possible cause
conflict when two or more NICs are present in the system.
2. simplifying functions

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c