iwlwifi: add iwl_sta_id()
commit64ba9a54c60990416c4098c63792c37d8fccb9e1
authorJohannes Berg <johannes.berg@intel.com>
Fri, 30 Apr 2010 18:30:44 +0000 (30 11:30 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Mon, 10 May 2010 22:09:04 +0000 (10 15:09 -0700)
tree0791e7984072d08775063fabd906698782871e60
parentfd1af15d0a82ae681ecf34192150e27455c9c494
iwlwifi: add iwl_sta_id()

In places where the station struct is
guaranteed to exist (presumably), use
this helper to get the station ID out
of it (and warn if there's no station
struct after all).

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