]> asedeno.scripts.mit.edu Git - linux.git/commit
rsi: optimize virtual interfaces
authorSiva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Thu, 5 Jul 2018 12:38:22 +0000 (18:08 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:14:47 +0000 (10:14 +0300)
commit1d2194562112dc4e5b1077c1946dffd168a6c358
treefc5f727aeb4086b0198805dec39dc90f1854ef3e
parent4c837d8c9b0c7718dd9ff14ee77e4704c9be258d
rsi: optimize virtual interfaces

Due to multiple calls of add interface routine, vif is getting duplicated
and at certain instance, we are out of vifs, causing the driver to behave
abnormal.

Fix: Every vif has a unique mac-id, when we got a vif with same mac-id as
the previous id's, we will override the respective vif.

Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Sushant Kumar Mishra <sushant.mishra@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mac80211.c