OSDN Git Service

wil6210: send uevent when creating sysfs files
authorLior David <liord@codeaurora.org>
Sun, 23 Jul 2017 16:16:23 +0000 (19:16 +0300)
committerLior David <liord@codeaurora.org>
Sun, 23 Jul 2017 16:34:23 +0000 (19:34 +0300)
commitf85109b59d591cda936984f905eaaa1a84ff511b
treefbf813d5c41ecd848b001ca7b7c6be574443391b
parent859d453ac5b033ee18cd37f4941a411d936d11ec
wil6210: send uevent when creating sysfs files

Send a KOBJ_CHANGE uevent when creating the wil6210 sysfs directory.
This is mainly needed so selinux policy rules will be applied when
the wil6210 module is dynamically loaded.

Change-Id: I4220c551b8792d419db7a380b16f3c87204be22a
Signed-off-by: Lior David <liord@codeaurora.org>
drivers/net/wireless/ath/wil6210/sysfs.c