Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279475
b: refs/heads/master
c: 7f28197
h: refs/heads/master
i:
  279473: c4996f8
  279471: 49a456a
v: v3
  • Loading branch information
Yogesh Ashok Powar authored and John W. Linville committed Jan 4, 2012
1 parent c3e5801 commit cc0539b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 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: 98f0a5eb02bbfff662664bf65f469dc4abd701fd
refs/heads/master: 7f28197560116f08c4c27342974f9e64cab2cbb1
19 changes: 9 additions & 10 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,16 +1142,6 @@ int ieee80211_reconfig(struct ieee80211_local *local)
*/
}
#endif

/* setup fragmentation threshold */
drv_set_frag_threshold(local, hw->wiphy->frag_threshold);

/* setup RTS threshold */
drv_set_rts_threshold(local, hw->wiphy->rts_threshold);

/* reset coverage class */
drv_set_coverage_class(local, hw->wiphy->coverage_class);

/* everything else happens only if HW was up & running */
if (!local->open_count)
goto wake_up;
Expand All @@ -1170,6 +1160,15 @@ int ieee80211_reconfig(struct ieee80211_local *local)
return res;
}

/* setup fragmentation threshold */
drv_set_frag_threshold(local, hw->wiphy->frag_threshold);

/* setup RTS threshold */
drv_set_rts_threshold(local, hw->wiphy->rts_threshold);

/* reset coverage class */
drv_set_coverage_class(local, hw->wiphy->coverage_class);

ieee80211_led_radio(local, true);
ieee80211_mod_tpt_led_trig(local,
IEEE80211_TPT_LEDTRIG_FL_RADIO, 0);
Expand Down

0 comments on commit cc0539b

Please sign in to comment.