Explorar el Código

qcacld-3.0: add wiphy flag to enable net namespace

On LXC platform, network namespace is used to setup containers
or virtual environments. To allow network namespace manages WLAN
device, enable wiphy NETNS flag is necessary.

Change-Id: Ib44a4a8f1ca6b5f1b31ff071651d9a66e545eccb
CRs-Fixed: 3132522
Zhaoyang Liu hace 3 años
padre
commit
34547a4a8d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      core/hdd/src/wlan_hdd_cfg80211.c

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

@@ -17928,7 +17928,8 @@ int wlan_hdd_cfg80211_init(struct device *dev,
 #ifdef FEATURE_WLAN_STA_4ADDR_SCHEME
 			| WIPHY_FLAG_4ADDR_STATION
 #endif
-			| WIPHY_FLAG_OFFCHAN_TX;
+			| WIPHY_FLAG_OFFCHAN_TX
+			| WIPHY_FLAG_NETNS_OK;
 
 	if (ucfg_pmo_get_suspend_mode(hdd_ctx->psoc) == PMO_SUSPEND_WOW) {
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0))