iwlwifi: mvm: fix GO powersave client manipulation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 21:47:48 +0000 (22:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Feb 2013 19:17:48 +0000 (20:17 +0100)
commit9cc40712a082b7288d00c57e8652e3b248e2554d
treeca0fe4afd17b8a596f535fd9ed4bd1dff6ab6fa4
parentd2931bbd5471c35f55856e5a4f001160df9951dc
iwlwifi: mvm: fix GO powersave client manipulation

All station commands must include a valid MAC ID,
the ID 0 is randomly valid in some cases, but we
must set the ID properly. Do that by passing the
right station and using its mac_id_n_color.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/sta.h