Kaynağa Gözat

qcacld-3.0: Fix monitor mode initialization failure on Helium

Returning a negative value from the API results in the failure
on unsupported platform.

CRs-Fixed: 2082239
Change-Id: I75b14b81eaa00d53784a6deb90b99666e28b164d
Ravi Joshi 7 yıl önce
ebeveyn
işleme
62765443e6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      core/hdd/src/wlan_hdd_rx_monitor.h

+ 1 - 1
core/hdd/src/wlan_hdd_rx_monitor.h

@@ -47,7 +47,7 @@ static inline void hdd_rx_monitor_callback(ol_osif_vdev_handle vdev,
 				void *rx_status){ }
 static inline int hdd_enable_monitor_mode(struct net_device *dev)
 {
-	return -ENOSYS;
+	return 0;
 }
 #endif /* CONFIG_LITHIUM */