Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338269
b: refs/heads/master
c: 0a0cd35
h: refs/heads/master
i:
  338267: ddb556e
v: v3
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 8e0c089 commit 73e3dea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c90b80bf21a6b954bd6e60bc9f1fdc6237a06335
refs/heads/master: 0a0cd35385835f632cf3fee5a46bcef66da98014
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info

if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
if (ieee->state == IEEE80211_LINKED) {

ieee80211_stop_send_beacons(ieee);
ieee80211_start_send_beacons(ieee);
ieee80211_stop_send_beacons(ieee);
ieee80211_start_send_beacons(ieee);
}
}

Expand Down Expand Up @@ -219,9 +218,9 @@ int ieee80211_wx_set_rate(struct ieee80211_device *ieee,

//added by lizhaoming for auto mode
if (target_rate == -1) {
ieee->rate = 110;
ieee->rate = 110;
} else {
ieee->rate = target_rate/100000;
ieee->rate = target_rate/100000;
}
//FIXME: we might want to limit rate also in management protocols.
return 0;
Expand Down

0 comments on commit 73e3dea

Please sign in to comment.