]> git.baikalelectronics.ru Git - kernel.git/commit
asus-laptop: fix wapf, wlan_status and bluetooth_status module_param permissions
authorAxel Lin <axel.lin@gmail.com>
Tue, 20 Jul 2010 22:19:55 +0000 (15:19 -0700)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:05 +0000 (09:49 -0400)
commit032db3c69501de7126b754c19e0f3d802dc485e3
tree37d116815123018a9c073116f4ccbc661aef6d20
parentef7c90a7337e7b8a5364d30b978ad068da325ef8
asus-laptop: fix wapf, wlan_status and bluetooth_status module_param permissions

The wapf module parameters defines the behavior of the Fn+Fx wlan key.
The wlan_status and bluetooth_status module parameters are for setting the
wlan/bluetooth status on boot.

All above module parameters are determinated only at the module load time.
 Change the value after the module is loaded does not make sense and has
no effect at all, thus set the permissions to 0444 instead of 0644.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-laptop.c