mac80211: return correct error return from ieee80211_wep_init
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 14 Jul 2008 19:52:08 +0000 (12:52 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Jul 2008 20:55:07 +0000 (16:55 -0400)
Return the proper error code rather than a hard-coded ENOMEM from
ieee80211_wep_init.  Also, print the error code on failure.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found