A few places weren't checking that the frame passed to the function actually has enough data even though the function clearly documents it must have a payload byte. Make this safer by changing the function to take an skb and checking the length inside. The old version is preserved for now as the rtl* drivers use it and don't have a correct skb. Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
||
|---|---|---|
| .. | ||
| btc.h | ||
| def.h | ||
| dm.c | ||
| dm.h | ||
| fw.c | ||
| fw.h | ||
| hal_bt_coexist.c | ||
| hal_bt_coexist.h | ||
| hal_btc.c | ||
| hal_btc.h | ||
| hw.c | ||
| hw.h | ||
| led.c | ||
| led.h | ||
| Makefile | ||
| phy.c | ||
| phy.h | ||
| pwrseq.c | ||
| pwrseq.h | ||
| pwrseqcmd.c | ||
| pwrseqcmd.h | ||
| reg.h | ||
| rf.c | ||
| rf.h | ||
| sw.c | ||
| sw.h | ||
| table.c | ||
| table.h | ||
| trx.c | ||
| trx.h | ||