nl80211: Handle rfkill for P2P Device interface
authorIlan Peer <ilan.peer@intel.com>
Thu, 17 Dec 2015 13:54:10 +0000 (15:54 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 18 Dec 2015 20:26:18 +0000 (22:26 +0200)
commit6da504a1f525d02f208d804d2453e5e06542a71b
treeb236fca3dbe9a501e09c46057e6650fc99ac9e81
parent9f052d805d6337fb4b8a63891077843bbbe840eb
nl80211: Handle rfkill for P2P Device interface

The rfkill processing in nl80211 driver assumes that the
INTERFACE_ENABLED/DISABLED will be also issued, so does not do much in
the rfkill callbacks. However, as a P2P Device interface is not
associated with a network interface, these events are not issued for it.

Handle rfkill events for the P2P_DEVICE interface by faking the
INTERFACE_ENABLED/DISABLED.

Signed-off-by: Moshe Benji <Moshe.Benji@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
src/drivers/driver_nl80211.c