From: Emmanuel Grumbach Date: Tue, 19 Mar 2013 14:16:00 +0000 (+0200) Subject: iwlwifi: mvm: clean up invalid station handling X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~97^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=881acd8987f6633280247087219df465de784a69;p=pandora-kernel.git iwlwifi: mvm: clean up invalid station handling Using IWL_MVM_STATION_COUNT and IWL_INVALID_STATION together isn't a good idea as they have different values. Always use IWL_MVM_STATION_COUNT for an invalid station in MVM and move the definition of the IWL_INVALID_STATION constant into the DVM driver to avoid making such mistakes again. The one use in the transport code can be hard-coded to -1 instead as the station ID is passed as an integer there. Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed