OSDN Git Service

iwlwifi: mvm: change sta_id to u8
authorSharon Dvir <sharon.dvir@intel.com>
Sun, 21 May 2017 09:09:49 +0000 (12:09 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 10:26:24 +0000 (13:26 +0300)
commit806911da64404a6a6348c4840a47218c3bb64a3c
treea2b2fe961e7e81a3a4b782407e2047dfe5dc4cb1
parentae5bb2a62d96e52b138628e0cda4ebb377cbc456
iwlwifi: mvm: change sta_id to u8

The sta_id variable is used as an index in an array, should be unsigned.
Found by Klocwork.

Fixes: 9f9af3d7d303 ("iwlwifi: mvm: re-aggregate shared queue after unsharing")
Signed-off-by: Sharon Dvir <sharon.dvir@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c