Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c160fac authored by Tej Parkash's avatar Tej Parkash Committed by Christoph Hellwig
Browse files

bnx2i: Make boot_nic entry visible in the sysfs session objects

parent 5565461e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2235,6 +2235,9 @@ static umode_t bnx2i_attr_is_visible(int param_type, int param)
		case ISCSI_PARAM_TGT_RESET_TMO:
		case ISCSI_PARAM_IFACE_NAME:
		case ISCSI_PARAM_INITIATOR_NAME:
		case ISCSI_PARAM_BOOT_ROOT:
		case ISCSI_PARAM_BOOT_NIC:
		case ISCSI_PARAM_BOOT_TARGET:
			return S_IRUGO;
		default:
			return 0;