Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c92f06a1 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach
Browse files

iwlwifi: mvm: BT Coex - fix copy paste issue



Putting the context id of the primary phy context in
the placeholder of the secondary is obviously a bad
idea.
Spotted by smatch.

Fixes: dac94da8 ("iwlwifi: mvm: new BT Coex API")
Reviewed-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 16f00762
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -755,7 +755,7 @@ static void iwl_mvm_bt_coex_notif_handle(struct iwl_mvm *mvm)


		cmd.bt_secondary_ci =
		cmd.bt_secondary_ci =
			iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx];
			iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx];
		cmd.secondary_ch_phy_id = *((u16 *)data.primary->drv_priv);
		cmd.secondary_ch_phy_id = *((u16 *)data.secondary->drv_priv);
	}
	}


	rcu_read_unlock();
	rcu_read_unlock();