]> err.no Git - linux-2.6/commit
iwlwifi: fix iwl_mac_add_interface handler
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 27 Nov 2007 19:00:52 +0000 (21:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2007 02:34:53 +0000 (21:34 -0500)
commit864792e3d93a89496e02ca21b2e2eeba0aa857ad
treeaf9eab356cbc8f5d5acd118f3cc25264b3f1002c
parent6591e36a1c52445f95f26738394909ee9bf94390
iwlwifi: fix iwl_mac_add_interface handler

This patch fixes iwl_mac_add_interface.

1. Currently only one interface is supported, instead of silently retuning
 0 now it returns  -EOPNOTSUPP (By Johannes Berg)
2. It enables changing mac address from user space (By Ian Schram)

Signed-off-by: Tomas Winkler <tomas@localhost.localdomain>
Cc: Zhu Yi <yi.zhu@intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org
Cc: Ian Schram <ischram@telenet.be>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c