iwlwifi: mvm: use unsigned for ssid_bitmap
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Nov 2014 14:06:52 +0000 (15:06 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:13 +0000 (08:30 +0200)
The ssid_bitmap should be unsigned, though it doesn't matter
much as the high bits aren't used.

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

index 54303d935c57102056569e08b9b92c57e5834ec1..b6719b64ff6db1447cfc4d412d10425fc0e31635 100644 (file)
@@ -1324,7 +1324,7 @@ int iwl_mvm_unified_scan_lmac(struct iwl_mvm *mvm,
        struct iwl_scan_probe_req *preq;
        struct iwl_mvm_scan_params params = {};
        u32 flags;
-       int ssid_bitmap = 0;
+       u32 ssid_bitmap = 0;
        int ret, i;
 
        lockdep_assert_held(&mvm->mutex);
@@ -1763,7 +1763,7 @@ int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
                        mvm->fw->ucode_capa.n_scan_channels;
        struct iwl_mvm_scan_params params = {};
        u32 uid, flags;
-       int ssid_bitmap = 0;
+       u32 ssid_bitmap = 0;
        int ret, i, uid_idx;
 
        lockdep_assert_held(&mvm->mutex);
@@ -1853,7 +1853,7 @@ int iwl_mvm_sched_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
                        mvm->fw->ucode_capa.n_scan_channels;
        struct iwl_mvm_scan_params params = {};
        u32 uid, flags;
-       int ssid_bitmap = 0;
+       u32 ssid_bitmap = 0;
        int ret, uid_idx;
 
        lockdep_assert_held(&mvm->mutex);