From: Johannes Berg Date: Fri, 30 Apr 2010 21:08:00 +0000 (-0700) Subject: iwlwifi: introduce iwl_sta_id_or_broadcast X-Git-Tag: v2.6.36-rc1~571^2~615^2~172^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0af8bcae6f44aa440e51b1925635fb835cd68058;p=pandora-kernel.git iwlwifi: introduce iwl_sta_id_or_broadcast There are now five places where we need to look up the station ID, but the sta pointer may be NULL due to mac80211 passing that to indicate a certain special state. Replace all these by a new inline function, called iwl_sta_id_or_broadcast(), and add documentation about when to use it. Signed-off-by: Johannes Berg Signed-off-by: Reinette Chatre --- Reading git-diff-tree failed