Skip to content

Commit

Permalink
cfg80211: fix wext-compat for setting rate to 'auto'
Browse files Browse the repository at this point in the history
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville committed Jan 27, 2010
1 parent 22e16e5 commit 5423326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/wireless/wext-compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ int cfg80211_wext_siwrate(struct net_device *dev,

memset(&mask, 0, sizeof(mask));
fixed = 0;
maxrate = 0;
maxrate = (u32)-1;

if (rate->value < 0) {
/* nothing */
Expand Down

0 comments on commit 5423326

Please sign in to comment.