From: Johannes Berg Date: Wed, 12 May 2010 10:33:11 +0000 (-0700) Subject: iwlwifi: set MAC address in RXON from interface X-Git-Tag: v2.6.36-rc1~571^2~615^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7684c4083114e0f0cc02f3a7cbef27b1e29381cd;p=pandora-kernel.git iwlwifi: set MAC address in RXON from interface When we do not have an interface, priv->mac_addr is all zeroes, so the memcpy() is not useful as the RXON buffer has been cleared previously. Therefore, use the interface's address that we are setting up the RXON for, if available. Signed-off-by: Johannes Berg Signed-off-by: Reinette Chatre --- Reading git-diff-tree failed