mac80211: return an error when SIWRATE doesn't match any rate
authorAndrew Lutomirski <andy@luto.us>
Fri, 4 Jan 2008 05:03:19 +0000 (21:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:30:10 +0000 (23:30 -0800)
commit5cdfed54e7200dde2e846e2ef153d1694ce44875
tree99054b3bfdbee3697b990cf9608d81df62d00e8a
parent87c4ac841c1d524416ab36c19689550bf302dab1
mac80211: return an error when SIWRATE doesn't match any rate

Currently mac80211 fails silently when trying to set a nonexistent
rate.  Return an error instead.

Signed-Off-By: Andy Lutomirski <luto@myrealbox.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_ioctl.c