mac80211: fix ieee80211_ioctl_giwrate
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 4 Apr 2008 21:40:35 +0000 (23:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Apr 2008 20:44:43 +0000 (16:44 -0400)
commit380a942b9177dcae1429fdd0f3639f92d9ab139d
tree4ae093002b6fe9289c3d888858b80c35ccab6f6b
parentbebb8a5e2cd30adcc5e9a14c3366a231da728aee
mac80211: fix ieee80211_ioctl_giwrate

The ieee80211_ioctl_giwrate() ioctl handler doesn't rcu_read_lock()
its access to the sta table, fix it.

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