summaryrefslogtreecommitdiff
path: root/openembedded/packages/prism3-support/files/hostap-fw-load
blob: 0b2aec51a869a171cff8aed02ddbe2e5f64eeed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
                                                       
# Special case for prism3 cards needing firmware upload
# Add more known manfids, if necessary          

test -x /sbin/cardctl || exit 0
                                                       
if [ `cardctl info|grep "d601,0010\|d601,0101"` ]; then
  iwpriv "$IFACE" reset 1                             
  hostap_fw_load "$IFACE"  
fi                      
  
# lets hope that run-parts obeys the order :D