Ticket #858: madwifi.patch
| File madwifi.patch, 0.7 kB (added by abpost@mpi-sws.mpg.de, 6 years ago) |
|---|
-
ieee80211_monitor.c
old new 180 180 } 181 181 break; 182 182 } 183 184 case ARPHRD_IEEE80211_RADIOTAP: { 185 if(skb->len > sizeof(struct ath_tx_radiotap_header)){ 186 struct ath_tx_radiotap_header *wh = (struct ath_tx_radiotap_header *) skb->data; 187 skb_pull(skb, sizeof(struct ath_tx_radiotap_header)); 188 ph->power = wh->wt_txpower; 189 ph->rate0 = wh->wt_rate; 190 ph->try0 = 1; 191 } 192 break; 193 } 183 194 default: 184 195 break; 185 196 }
