]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfg80211: fix regulatory code const
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 15 Sep 2008 09:10:52 +0000 (11:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Sep 2008 20:17:59 +0000 (16:17 -0400)
commita3d2eaf0dcad6dfdf44f3093aef688dfca714b6c
treea8e004bc52b6344451007beb1bf9822aed62004a
parent734366deaee05b1a5842d977960b4cc574d7551d
cfg80211: fix regulatory code const

A few pointers and structures in the regulatory code are const,
but because it wasn't done properly a whole bunch of bogus
casts were needed to compile without warning. Mark everything
const properly to avoid that kind of junk code.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c
net/wireless/reg.h