]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i40iw: Add missing check for interface already open
authorMustafa Ismail <mustafa.ismail@intel.com>
Mon, 22 Aug 2016 23:17:12 +0000 (18:17 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 23 Aug 2016 16:52:52 +0000 (12:52 -0400)
commitfaa739fb5df56aadab96bcd2f6eb3486cc3a3aec
treec2fb2b56cea20e63a50ef6a2e6c0d611d87b000a
parent44856be3e95c87f03e850ef4fdf8c0503c2dde18
i40iw: Add missing check for interface already open

In i40iw_open(), check if interface is already open
and return success if it is.

Fixes: 8e06af711bf2 ("i40iw: add main, hdr, status")
Reported-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c