Ganapathi Bhat <gbhat@xxxxxxxxxxx> writes: > From: Sharvari Harisangam <sharvari@xxxxxxxxxxx> > Date: Wed, 27 Mar 2019 11:47:03 +0530 > Subject: mwifiex: update set_mac_address logic > > In set_mac_address, driver check for interfaces with same bss_type > For first STA entry, this would return 3 interfaces since all priv's have > bss_type as 0 due to kzalloc. Thus mac address gets changed for STA > unexpected. This patch adds check for first STA and avoids mac address > change. This patch also adds mac_address change for p2p based on bss_num > type. > > Signed-off-by: Sharvari Harisangam <sharvari@xxxxxxxxxxx> > Signed-off-by: Ganapathi Bhat <gbhat@xxxxxxxxxxx> The formatting looks broken to me, please use git send-email to send patches. https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#format_issues -- Kalle Valo