|
@@ -444,6 +444,11 @@ static int __wlan_hdd_cfg80211_encrypt_decrypt_msg(struct wiphy *wiphy,
|
|
|
|
|
|
adapter = WLAN_HDD_GET_PRIV_PTR(dev);
|
|
|
|
|
|
+ if (hdd_ctx->config->is_ps_enabled) {
|
|
|
+ hdd_debug("DISA is not supported when PS is enabled");
|
|
|
+ return -EINVAL;
|
|
|
+ }
|
|
|
+
|
|
|
ret = hdd_encrypt_decrypt_msg(adapter, hdd_ctx, data, data_len);
|
|
|
|
|
|
return ret;
|