diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2012-04-11 02:47:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-13 14:32:50 -0400 |
commit | 4ee73f338a528f44fd90496adfbfd9c119401850 (patch) | |
tree | 665c02d2ec013a09b252713c8f94b604f6050cc7 /drivers/net/wireless/b43 | |
parent | f58cc809d2fe60989095c7b55fd14e1935a2f72a (diff) |
mac80211: remove hw.conf.channel usage where possible
Removes hw.conf.channel usage from the following functions:
* ieee80211_mandatory_rates
* ieee80211_sta_get_rates
* ieee80211_frame_duration
* ieee80211_rts_duration
* ieee80211_ctstoself_duration
This is in preparation for multi-channel operation.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r-- | drivers/net/wireless/b43/xmit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c index cba413536270..b31ccc02fa21 100644 --- a/drivers/net/wireless/b43/xmit.c +++ b/drivers/net/wireless/b43/xmit.c | |||
@@ -290,7 +290,8 @@ int b43_generate_txhdr(struct b43_wldev *dev, | |||
290 | txhdr->dur_fb = wlhdr->duration_id; | 290 | txhdr->dur_fb = wlhdr->duration_id; |
291 | } else { | 291 | } else { |
292 | txhdr->dur_fb = ieee80211_generic_frame_duration( | 292 | txhdr->dur_fb = ieee80211_generic_frame_duration( |
293 | dev->wl->hw, info->control.vif, fragment_len, fbrate); | 293 | dev->wl->hw, info->control.vif, info->band, |
294 | fragment_len, fbrate); | ||
294 | } | 295 | } |
295 | 296 | ||
296 | plcp_fragment_len = fragment_len + FCS_LEN; | 297 | plcp_fragment_len = fragment_len + FCS_LEN; |