mac80211: don't return -EINVAL upon iwconfig wlan0 rts auto
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Jun 2008 10:37:58 +0000 (13:37 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jun 2008 13:09:19 +0000 (09:09 -0400)
commitfa6adfe9e625a6a843a1abed5f4e7a000c11952c
treee9a569b3b1e90a852cb2ca49ba363921a8134aa0
parent14a7dd6f6c1e0b361a37b6df52d4dc2ea36757d2
mac80211: don't return -EINVAL upon iwconfig wlan0 rts auto

This patch avoids returning -EINVAL upon iwconfig wlan0 rts auto. If
rts->fixed is 0, then we should choose a default value instead of failing.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c