Skip to content

Commit

Permalink
iwlwifi: mvm: use unsigned for ssid_bitmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and Emmanuel Grumbach committed Nov 24, 2014
1 parent 3fd0d3c commit c8660dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/iwlwifi/mvm/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c8660dd

Please sign in to comment.