cfg80211: do not kzalloc() again for a new request on __regulatory_hint
commitd951c1ddeba3c84c464069c808efc494aa705304
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 21 Feb 2009 05:24:15 +0000 (21 00:24 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:53:00 +0000 (27 14:53 -0500)
tree48d554a91830bd16955efaeb21a09f2b84b7f9fe
parent28da32d7cafdd181d6a59e8c0b74e9651a8f8be3
cfg80211: do not kzalloc() again for a new request on __regulatory_hint

Since we already have a regulatory request from the workqueue use that
and avoid a new kzalloc()

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c