From: David Gnedt Date: Tue, 7 Jan 2014 12:11:27 +0000 (+0100) Subject: wl1251: enforce changed hw encryption support on monitor state change X-Git-Tag: sz_161~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c0a933c25ed0c5a2a78c3f04d9c0622c7243f10;p=pandora-kernel.git wl1251: enforce changed hw encryption support on monitor state change The firmware doesn't support per packet encryption selection, so disable hw encryption support completely while a monitor interface is present to support injection of packets (which shouldn't get encrypted by hw). To enforce the changed hw encryption support force a disassociation on non-monitor interfaces. For disassociation a workaround using hw connection monitor is employed, which temporary enables hw connection manager flag. Signed-off-by: David Gnedt Signed-off-by: Pali Rohár Signed-off-by: Pavel Machek Signed-off-by: John W. Linville --- Reading git-diff-tree failed