nl80211: Fix P2P Device handling when starting with RF-kill blocked
authorMoshe Benji <Moshe.Benji@intel.com>
Mon, 3 Mar 2014 12:53:21 +0000 (14:53 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 11 Mar 2014 17:22:03 +0000 (19:22 +0200)
commit8c06db703d8cfd630a8eb738443a3d9134a3fc4a
treeb22b605f38cf6b4ed51e84280c32042735a8e2aa
parent5e3ddf4d23012483f9817f5602e09b671a98e01b
nl80211: Fix P2P Device handling when starting with RF-kill blocked

On RF-kill, we should not request the kernel to start a P2P device. In
addition, we should call i802_set_iface_flags() both for a P2P Device
interface and any other interface instead of calling a dedicated
function for each.

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