Parcourir la source

qcacld-3.0: Fix vendor command setband failure

QCA_NL80211_VENDOR_SUBCMD_SETBAND does not work because
vendor_id is missed.

Add vendor_id for QCA_NL80211_VENDOR_SUBCMD_SETBAND.

Change-Id: Ide61bc28fe5f555f9e55bd05be19ac86a5777eb5
CRs-Fixed: 2021204
bings il y a 8 ans
Parent
commit
d09dea36af
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 0
core/hdd/src/wlan_hdd_cfg80211.c

@@ -10020,6 +10020,7 @@ const struct wiphy_vendor_command hdd_wiphy_vendor_commands[] = {
 		.doit = wlan_hdd_cfg80211_update_vendor_channel
 	},
 	{
+		.info.vendor_id = QCA_NL80211_VENDOR_ID,
 		.info.subcmd = QCA_NL80211_VENDOR_SUBCMD_SETBAND,
 		.flags = WIPHY_VENDOR_CMD_NEED_WDEV |
 					WIPHY_VENDOR_CMD_NEED_NETDEV |